mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed shake drops not working.
NOTE: You need to delete your treasures.yml and allow it to regenerate.
This commit is contained in:
parent
1b4eda713f
commit
c60e5a65d6
@ -192,7 +192,7 @@ public class TreasureConfig extends ConfigLoader {
|
|||||||
treasures.put(treasureName, fTreasure);
|
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) {
|
if (config.getConfigurationSection("Treasures." + treasureName + ".Drops_From").getKeys(false).size() != 1) {
|
||||||
reason.add("This can only be a shake drop.");
|
reason.add("This can only be a shake drop.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user