diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightWorld.java b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightWorld.java index 43cad3f..6afe6a3 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightWorld.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightWorld.java @@ -65,7 +65,7 @@ public class FightWorld extends StateDependent { public static void resetWorld(){ for(Entity entity : world.getEntities()){ - if(entity.getType() != EntityType.PLAYER){ + if(entity.getType() != EntityType.PLAYER && (!Config.ArenaLeaveable || Config.ArenaRegion.inRegion(entity.getLocation()))) { entity.remove(); } }