diff --git a/src/de/steamwar/lobby/listener/EnderPearlListener.java b/src/de/steamwar/lobby/listener/EnderPearlListener.java index aa5022d..aef3fb5 100644 --- a/src/de/steamwar/lobby/listener/EnderPearlListener.java +++ b/src/de/steamwar/lobby/listener/EnderPearlListener.java @@ -70,7 +70,6 @@ public class EnderPearlListener implements Listener { return; if(projectile.getPassenger() == null) return; - Player player = ((Player) projectile.getShooter()).getPlayer(); player.teleport(event.getEntity().getVelocity().subtract(event.getHitBlock().getLocation().toVector()).toLocation(player.getWorld())); }