diff --git a/SpigotCore_Main/src/de/steamwar/core/events/WorldLoadEvent.java b/SpigotCore_Main/src/de/steamwar/core/events/WorldLoadEvent.java index 1685ee3..9c17e80 100644 --- a/SpigotCore_Main/src/de/steamwar/core/events/WorldLoadEvent.java +++ b/SpigotCore_Main/src/de/steamwar/core/events/WorldLoadEvent.java @@ -8,6 +8,7 @@ public class WorldLoadEvent implements Listener { @EventHandler public void onWorldInit(WorldInitEvent e){ - e.getWorld().setKeepSpawnInMemory(false); + if(Integer.parseInt(System.getProperty("fightID", "0")) != -1) // On testarenas not + e.getWorld().setKeepSpawnInMemory(false); } }