diff --git a/src/main/java/de/erethon/dungeonsxl/command/MainCommand.java b/src/main/java/de/erethon/dungeonsxl/command/MainCommand.java index 59efd4ad..acb68736 100644 --- a/src/main/java/de/erethon/dungeonsxl/command/MainCommand.java +++ b/src/main/java/de/erethon/dungeonsxl/command/MainCommand.java @@ -45,7 +45,7 @@ public class MainCommand extends DCommand { public void onExecute(String[] args, CommandSender sender) { PluginManager plugins = Bukkit.getServer().getPluginManager(); - int maps = DungeonsXL.MAPS.listFiles().length; + int maps = DungeonsXL.MAPS.listFiles().length - 1; int dungeons = DungeonsXL.DUNGEONS.listFiles().length; int loaded = instances.getEditWorlds().size() + instances.getGameWorlds().size(); int players = dPlayers.getDGamePlayers().size(); diff --git a/src/main/java/de/erethon/dungeonsxl/command/ReloadCommand.java b/src/main/java/de/erethon/dungeonsxl/command/ReloadCommand.java index a9d9bd07..edb0cbf7 100644 --- a/src/main/java/de/erethon/dungeonsxl/command/ReloadCommand.java +++ b/src/main/java/de/erethon/dungeonsxl/command/ReloadCommand.java @@ -74,7 +74,7 @@ public class ReloadCommand extends DCommand { dPlayer.leave(); } - int maps = DungeonsXL.MAPS.listFiles().length; + int maps = DungeonsXL.MAPS.listFiles().length - 1; int dungeons = DungeonsXL.DUNGEONS.listFiles().length; int loaded = instances.getEditWorlds().size() + instances.getGameWorlds().size(); int players = this.dPlayers.getDGamePlayers().size();