Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
c9fc554dcd
Commit
72f3aed8ba
@ -65,7 +65,7 @@ public class FightWorld extends StateDependent {
|
|||||||
|
|
||||||
public static void resetWorld(){
|
public static void resetWorld(){
|
||||||
for(Entity entity : world.getEntities()){
|
for(Entity entity : world.getEntities()){
|
||||||
if(entity.getType() != EntityType.PLAYER){
|
if(entity.getType() != EntityType.PLAYER && (!Config.ArenaLeaveable || Config.ArenaRegion.inRegion(entity.getLocation()))) {
|
||||||
entity.remove();
|
entity.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren