Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Location to = e.getTo();
- Location from = e.getFrom();
- Vector vec = to.toVector();
- double i = vec.distance(from.toVector());
- if(p.getLocation().getBlock().getRelative(BlockFace.DOWN).getType().equals(Material.SPONGE)) {
- return;
- }
- if(p.getGameMode().equals(GameMode.CREATIVE)) {
- }
- if(p.getEntityId() == 100) {
- }
- if(p.getVehicle() != null) {
- }
- if(p.getAllowFlight() == true) {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement