mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Fixed Block.breakNaturally(). Fixes BUKKIT-1295
This commit is contained in:
parent
cf2abd20e8
commit
b60a6743ed
1 changed files with 3 additions and 0 deletions
|
@ -348,6 +348,9 @@ public class CraftBlock implements Block {
|
|||
setTypeId(Material.AIR.getId());
|
||||
if (block != null) {
|
||||
block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0);
|
||||
for (ItemStack item : getDrops()) {
|
||||
breakNaturally(item);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue