Archiviert
1
0

Fix loading of non startable gamemodes

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-12-02 08:45:01 +01:00
Ursprung 0339067295
Commit 6bb90af3bc

Datei anzeigen

@ -48,7 +48,8 @@ public class ArenaMode {
throw new SecurityException("Could not load SchematicTypes", e); throw new SecurityException("Could not load SchematicTypes", e);
} }
new ArenaMode(configFile.getName().replace(".yml", ""), config); if(config.contains("Server"))
new ArenaMode(configFile.getName().replace(".yml", ""), config);
} }
} }