diff --git a/src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java b/src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java index 56da821ec..f8f46bf31 100644 --- a/src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java +++ b/src/main/java/com/gmail/nossr50/config/treasure/TreasureConfig.java @@ -73,6 +73,12 @@ public class TreasureConfig extends ConfigLoader { @Override protected void loadKeys() { + if (config.getConfigurationSection("Treasures") != null) { + 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."); + } + loadTreaures("Fishing"); loadTreaures("Excavation"); loadTreaures("Hylian");