diff --git a/src/de/steamwar/lobby/jumpandrun/GhostJumpAndRun.java b/src/de/steamwar/lobby/jumpandrun/GhostJumpAndRun.java index 2fb3902..f937c20 100644 --- a/src/de/steamwar/lobby/jumpandrun/GhostJumpAndRun.java +++ b/src/de/steamwar/lobby/jumpandrun/GhostJumpAndRun.java @@ -132,7 +132,9 @@ public class GhostJumpAndRun implements Listener { entityPlayer = null; return; } - entityPlayer.move(iterator.next().toLocation(player.getWorld())); + if (entityPlayer != null) { + entityPlayer.move(iterator.next().toLocation(player.getWorld())); + } } }; replayRunnable.runTaskTimer(LobbySystem.getPlugin(), 1, 2);