change arena map identifier to not use gamemode

This commit is contained in:
Jakob Schulz
2026-10-31 22:50:54 +01:00
parent 641962ff01
commit ded46c28a6
@@ -91,7 +91,7 @@ public class ServerStarter {
gameMode = mode.configFile.getName().replace(".yml", ""); gameMode = mode.configFile.getName().replace(".yml", "");
directory = new File(SERVER_PATH, mode.Server.Folder); directory = new File(SERVER_PATH, mode.Server.Folder);
arguments.put("config", mode.configFile.getName()); arguments.put("config", mode.configFile.getName());
arguments.put("arenaMap", gameMode + "/" + map); arguments.put("arenaMap", map);
tempWorld(SERVER_PATH + mode.Server.Folder + "/arenas/" + map); tempWorld(SERVER_PATH + mode.Server.Folder + "/arenas/" + map);
startCondition = () -> { startCondition = () -> {
if (playersToSend.stream().anyMatch(player -> Subserver.isArena(Subserver.getSubserver(player)))) { if (playersToSend.stream().anyMatch(player -> Subserver.isArena(Subserver.getSubserver(player)))) {