Fixed shake drops not working.

NOTE: You need to delete your treasures.yml and allow it to regenerate.
This commit is contained in:
GJ 2013-04-13 11:34:38 -04:00
parent 1b4eda713f
commit c60e5a65d6

View File

@ -192,7 +192,7 @@ public class TreasureConfig extends ConfigLoader {
treasures.put(treasureName, fTreasure);
}
}
else if (config.getBoolean("Treasures." + treasureName + "Drops_From.Shake", false)) {
else if (config.getBoolean("Treasures." + treasureName + ".Drops_From.Shake", false)) {
if (config.getConfigurationSection("Treasures." + treasureName + ".Drops_From").getKeys(false).size() != 1) {
reason.add("This can only be a shake drop.");
}