diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java index 4d17787c..e7fdc454 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandSaveData.java @@ -18,7 +18,8 @@ public class CommandSaveData extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) { - DungeonRoomInfoRegistry.saveAll(e.getDungeonsGuide().getConfigDir()); + if (e.DEBUG) + DungeonRoomInfoRegistry.saveAll(e.getDungeonsGuide().getConfigDir()); } @Override public int getRequiredPermissionLevel() { |