Fix AirShip-Testarena startup
Dieser Commit ist enthalten in:
Ursprung
743e40c9ce
Commit
d74f08b179
@ -8,6 +8,7 @@ public class WorldLoadEvent implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onWorldInit(WorldInitEvent e){
|
public void onWorldInit(WorldInitEvent e){
|
||||||
|
if(Integer.parseInt(System.getProperty("fightID", "0")) != -1) // On testarenas not
|
||||||
e.getWorld().setKeepSpawnInMemory(false);
|
e.getWorld().setKeepSpawnInMemory(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren