forked from SteamWar/SteamWar
make world identifier valid by hex encoding them
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
package de.steamwar.misslewars;
|
||||
|
||||
import de.steamwar.core.Core;
|
||||
import de.steamwar.core.WorldIdentifier;
|
||||
import de.steamwar.linkage.AbstractLinker;
|
||||
import de.steamwar.linkage.SpigotLinker;
|
||||
@@ -60,7 +59,7 @@ public class MissileWars extends JavaPlugin {
|
||||
|
||||
String arenaMap = System.getProperty("arenaMap");
|
||||
if (arenaMap != null) {
|
||||
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap);
|
||||
WorldIdentifier.setArena(arenaMap);
|
||||
}
|
||||
|
||||
SpigotLinker spigotLinker = new SpigotLinker(this, null) {
|
||||
|
||||
Reference in New Issue
Block a user