浏览代码

Don't keep trying to load if they've got an old file.

GJ 11 年之前
父节点
当前提交
8af41975ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java

+ 1 - 0
src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java

@@ -77,6 +77,7 @@ public class TreasureConfig extends ConfigLoader {
             plugin.getLogger().warning("You are using an old version of the treasures.yml file.");
             plugin.getLogger().warning("You should delete your current file and allow a new one to generate.");
             plugin.getLogger().warning("Shake, Hylian Luck, Fishing, and Excavation will not work properly until you do.");
+            return;
         }
 
         loadTreaures("Fishing");