Add arena map name to world identifier

This commit is contained in:
Jakob Schulz
2026-10-16 23:00:38 +02:00
parent ad1b2c3185
commit 99f94c5278
2 changed files with 10 additions and 0 deletions
@@ -91,6 +91,7 @@ public class ServerStarter {
gameMode = mode.configFile.getName().replace(".yml", "");
directory = new File(SERVER_PATH, mode.Server.Folder);
arguments.put("config", mode.configFile.getName());
arguments.put("arenaMap", gameMode + "/" + map);
tempWorld(SERVER_PATH + mode.Server.Folder + "/arenas/" + map);
startCondition = () -> {
if (playersToSend.stream().anyMatch(player -> Subserver.isArena(Subserver.getSubserver(player)))) {