Backup and replace updated treasures.yml file.

This commit is contained in:
GJ
2013-10-07 13:09:46 -04:00
parent d5545de81f
commit 81140824e4
3 changed files with 17 additions and 20 deletions

View File

@ -75,9 +75,7 @@ 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.");
backup();
return;
}