diff --git a/core/src/main/java/de/erethon/dungeonsxl/command/RenameCommand.java b/core/src/main/java/de/erethon/dungeonsxl/command/RenameCommand.java index e0867fa6..a331d0f3 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/command/RenameCommand.java +++ b/core/src/main/java/de/erethon/dungeonsxl/command/RenameCommand.java @@ -66,6 +66,9 @@ public class RenameCommand extends DCommand { } for (Dungeon dungeon : plugin.getDungeonRegistry()) { + if (!dungeon.isMultiFloor()) { + continue; + } DungeonConfig dConfig = ((DDungeon) dungeon).getConfig(); FileConfiguration config = dConfig.getConfig(); File file = dConfig.getFile();