diff --git a/src/de/steamwar/lobby/listener/EnderPearlListener.java b/src/de/steamwar/lobby/listener/EnderPearlListener.java index 1c57fdf..19ad578 100644 --- a/src/de/steamwar/lobby/listener/EnderPearlListener.java +++ b/src/de/steamwar/lobby/listener/EnderPearlListener.java @@ -13,7 +13,6 @@ import org.bukkit.event.block.Action; import org.bukkit.event.entity.ProjectileHitEvent; import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.event.player.PlayerTeleportEvent; -import org.bukkit.event.vehicle.VehicleCollisionEvent; import org.bukkit.event.vehicle.VehicleExitEvent; public class EnderPearlListener implements Listener { @@ -73,10 +72,5 @@ public class EnderPearlListener implements Listener { player.teleport(event.getHitBlock().getLocation().add(0.0D, 1.0D, 0.0D)); } - @EventHandler - public void handleVehicleCollision(VehicleCollisionEvent event) { - event.getVehicle().getPassenger().teleport(event.getVehicle().getLocation().subtract(event.getVehicle().getVelocity())); - } - }