forked from SteamWar/SteamWar
make world identifier valid by hex encoding them
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user