diff --git a/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java b/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java index b2bec15..1ed4c6f 100644 --- a/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java +++ b/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java @@ -197,7 +197,6 @@ public class REntityServer implements Listener { @EventHandler public void onQuit(PlayerQuitEvent e) { Player player = e.getPlayer(); - viewDistance.remove(player); Location location = lastLocation.remove(player); if(location == null) return; @@ -209,6 +208,7 @@ public class REntityServer implements Listener { if(playersInChunk.isEmpty()) players.remove(id); }); + viewDistance.remove(player); } private void onMissing(Set of, Set in, Consumer> packetProvider) {