diff --git a/src/main/java/rip/tilly/bedwars/commands/arena/GenerateCommand.java b/src/main/java/rip/tilly/bedwars/commands/arena/GenerateCommand.java index 392437c..0e0ec00 100644 --- a/src/main/java/rip/tilly/bedwars/commands/arena/GenerateCommand.java +++ b/src/main/java/rip/tilly/bedwars/commands/arena/GenerateCommand.java @@ -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 { diff --git a/src/main/java/rip/tilly/bedwars/managers/arena/ArenaManager.java b/src/main/java/rip/tilly/bedwars/managers/arena/ArenaManager.java index 80f44ca..9480289 100644 --- a/src/main/java/rip/tilly/bedwars/managers/arena/ArenaManager.java +++ b/src/main/java/rip/tilly/bedwars/managers/arena/ArenaManager.java @@ -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);