[Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes BUKKIT-1299

This commit is contained in:
feildmaster authored and EvilSeph committed 2012-03-23 14:51:05 -04:00
1 parent 942c1c6a3e
commit 9c7ffb6d3c
2 files changed
+2 -1

No files matched your search

@@ -564,7 +564,7 @@ public class Block {
} else {
int i1 = EnchantmentManager.getBonusBlockLootEnchantmentLevel(entityhuman.inventory);
this.b(world, i, j, k, l, i1);
this.dropNaturally(world, i, j, k, l, 1.0F, i1); // CraftBukkit
}
return this.dropList; // CraftBukkit
}