diff --git a/src/de/steamwar/lobby/listener/EnderPearlListener.java b/src/de/steamwar/lobby/listener/EnderPearlListener.java index b0ba038..13ee597 100644 --- a/src/de/steamwar/lobby/listener/EnderPearlListener.java +++ b/src/de/steamwar/lobby/listener/EnderPearlListener.java @@ -72,7 +72,7 @@ public class EnderPearlListener implements Listener { return; Player player = ((Player) projectile.getShooter()).getPlayer(); - player.teleport(event.getHitBlock().getLocation().subtract(player.getLocation().getDirection())); + player.teleport(event.getHitBlock().getLocation().subtract(event.getHitBlock().getLocation().getDirection().subtract(player.getLocation().getDirection()))); }