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
@@ -19,7 +19,6 @@
package de.steamwar.tntleague
import de.steamwar.core.Core
import de.steamwar.core.WorldIdentifier
import de.steamwar.message.Message
import de.steamwar.tntleague.command.*
@@ -47,7 +46,7 @@ class TNTLeague : JavaPlugin() {
val arenaMap = System.getProperty("arenaMap")
if (arenaMap != null) {
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap)
WorldIdentifier.setArena(arenaMap)
}
ReadyCommand.register()