forked from SteamWar/SteamWar
change arena map identifier to arena/<...
This commit is contained in:
@@ -85,7 +85,7 @@ public class FightSystem extends JavaPlugin {
|
||||
|
||||
String arenaMap = System.getProperty("arenaMap");
|
||||
if (arenaMap != null) {
|
||||
WorldIdentifier.set("fight/" + Core.getVersion() + "/" + arenaMap);
|
||||
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap);
|
||||
}
|
||||
|
||||
message = new Message("de.steamwar.fightsystem.FightSystem", FightSystem.class.getClassLoader());
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
package de.steamwar.misslewars;
|
||||
|
||||
import de.steamwar.core.Core;
|
||||
import de.steamwar.core.WorldIdentifier;
|
||||
import de.steamwar.linkage.AbstractLinker;
|
||||
import de.steamwar.linkage.SpigotLinker;
|
||||
import de.steamwar.misslewars.items.CustomItem;
|
||||
@@ -56,6 +58,11 @@ public class MissileWars extends JavaPlugin {
|
||||
redTeam = new MWTeam(Config.TeamRedColor, Config.RedSpawn, Config.TeamRedName, Config.RedPortalZ);
|
||||
blueTeam = new MWTeam(Config.TeamBlueColor, Config.BlueSpawn, Config.TeamBlueName, Config.BluePortalZ);
|
||||
|
||||
String arenaMap = System.getProperty("arenaMap");
|
||||
if (arenaMap != null) {
|
||||
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap);
|
||||
}
|
||||
|
||||
SpigotLinker spigotLinker = new SpigotLinker(this, null) {
|
||||
@Override
|
||||
protected void linkObject(Object any) {
|
||||
|
||||
@@ -47,7 +47,7 @@ class TNTLeague : JavaPlugin() {
|
||||
|
||||
val arenaMap = System.getProperty("arenaMap")
|
||||
if (arenaMap != null) {
|
||||
WorldIdentifier.set("fight/" + Core.getVersion() + "/" + arenaMap)
|
||||
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap)
|
||||
}
|
||||
|
||||
ReadyCommand.register()
|
||||
|
||||
@@ -60,7 +60,7 @@ public class TowerRun extends JavaPlugin {
|
||||
|
||||
String arenaMap = System.getProperty("arenaMap");
|
||||
if (arenaMap != null) {
|
||||
WorldIdentifier.set("fight/" + Core.getVersion() + "/" + arenaMap);
|
||||
WorldIdentifier.set("arena/" + Core.getVersion() + "/" + arenaMap);
|
||||
}
|
||||
|
||||
SpigotLinker spigotLinker = new SpigotLinker(this, message) {
|
||||
|
||||
Reference in New Issue
Block a user