forgot a dot

This commit is contained in:
Luca 2021-11-22 15:34:10 +01:00
parent e3048807fd
commit 8439eb06ab
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ public class GenerateCommand extends BaseCommand {
if (args.length == 3) {
int arenas = Integer.parseInt(args[2]);
this.main.getServer().getScheduler().runTask(this.main, new ArenaCommandRunnable(this.main, arena, arenas));
this.main.getArenaManager().setGeneratingArenaRunnable(this.main.getArenaManager().getGeneratingArenaRunnable() + 1);
} else {

View File

@ -175,7 +175,7 @@ public class ArenaManager {
String copyTeamBmin = CustomLocation.locationToString(copiedArena.getTeamBmin());
String copyTeamBmax = CustomLocation.locationToString(copiedArena.getTeamBmax());
String copyRoot = root + ".copiedArenas" + i;
String copyRoot = root + ".copiedArenas." + i;
fileConfig.set(copyRoot + ".a", copyA);
fileConfig.set(copyRoot + ".b", copyB);