make world identifier valid by hex encoding them

This commit is contained in:
Jakob Schulz
2026-11-01 00:46:13 +01:00
parent e22317f1fa
commit 1389f81c7c
5 changed files with 11 additions and 7 deletions
@@ -20,7 +20,6 @@
package de.steamwar.towerrun;
import de.steamwar.command.SWCommand;
import de.steamwar.core.Core;
import de.steamwar.core.WorldIdentifier;
import de.steamwar.linkage.AbstractLinker;
import de.steamwar.linkage.LinkedInstance;
@@ -60,7 +59,7 @@ public class TowerRun extends JavaPlugin {
String arenaMap = System.getProperty("arenaMap");
if (arenaMap != null) {
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap);
WorldIdentifier.setArena(arenaMap);
}
SpigotLinker spigotLinker = new SpigotLinker(this, message) {