Dieser Commit ist enthalten in:
Ursprung
745c69bd6a
Commit
5ca8381482
@ -124,7 +124,7 @@ public class GhostJumpAndRun implements Listener {
|
||||
replayRunnable = new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!iterator.hasNext()) {
|
||||
if (!iterator.hasNext() || entityPlayer == null) {
|
||||
replayRunnable.cancel();
|
||||
replayRunnable = null;
|
||||
entityServer.close();
|
||||
@ -132,10 +132,8 @@ public class GhostJumpAndRun implements Listener {
|
||||
entityPlayer = null;
|
||||
return;
|
||||
}
|
||||
if (entityPlayer != null) {
|
||||
entityPlayer.move(iterator.next().toLocation(player.getWorld()));
|
||||
}
|
||||
}
|
||||
};
|
||||
replayRunnable.runTaskTimer(LobbySystem.getPlugin(), 1, 2);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren