Permalink
Browse files

Fixed CustomDrop not using valid damage values.

  • Loading branch information...
me4502 committed Feb 28, 2017
1 parent 76b05b4 commit 3c9a45caddcd37cea4a9f790bd8a51eeb58d48b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/mechanics/drops/CustomDrops.java
@@ -68,7 +68,7 @@ public boolean load() {
for(String drop : config.getKeys("custom-drops." + key + ".drops")) {
- ItemStack item = ItemSyntax.getItem(config.getString("custom-drops." + key + ".drops." + drop + ".item"));
+ ItemStack item = ItemUtil.makeItemValid(ItemSyntax.getItem(config.getString("custom-drops." + key + ".drops." + drop + ".item")));
if(item == null) continue; //Invalid Drop.

0 comments on commit 3c9a45c

Please sign in to comment.