forgot a dot
This commit is contained in:
parent
e3048807fd
commit
8439eb06ab
@ -24,7 +24,6 @@ public class GenerateCommand extends BaseCommand {
|
|||||||
|
|
||||||
if (args.length == 3) {
|
if (args.length == 3) {
|
||||||
int arenas = Integer.parseInt(args[2]);
|
int arenas = Integer.parseInt(args[2]);
|
||||||
|
|
||||||
this.main.getServer().getScheduler().runTask(this.main, new ArenaCommandRunnable(this.main, arena, arenas));
|
this.main.getServer().getScheduler().runTask(this.main, new ArenaCommandRunnable(this.main, arena, arenas));
|
||||||
this.main.getArenaManager().setGeneratingArenaRunnable(this.main.getArenaManager().getGeneratingArenaRunnable() + 1);
|
this.main.getArenaManager().setGeneratingArenaRunnable(this.main.getArenaManager().getGeneratingArenaRunnable() + 1);
|
||||||
} else {
|
} else {
|
||||||
|
@ -175,7 +175,7 @@ public class ArenaManager {
|
|||||||
String copyTeamBmin = CustomLocation.locationToString(copiedArena.getTeamBmin());
|
String copyTeamBmin = CustomLocation.locationToString(copiedArena.getTeamBmin());
|
||||||
String copyTeamBmax = CustomLocation.locationToString(copiedArena.getTeamBmax());
|
String copyTeamBmax = CustomLocation.locationToString(copiedArena.getTeamBmax());
|
||||||
|
|
||||||
String copyRoot = root + ".copiedArenas" + i;
|
String copyRoot = root + ".copiedArenas." + i;
|
||||||
|
|
||||||
fileConfig.set(copyRoot + ".a", copyA);
|
fileConfig.set(copyRoot + ".a", copyA);
|
||||||
fileConfig.set(copyRoot + ".b", copyB);
|
fileConfig.set(copyRoot + ".b", copyB);
|
||||||
|
Loading…
Reference in New Issue
Block a user