Fixed Block.breakNaturally(). Fixes BUKKIT-1295
Dieser Commit ist enthalten in:
Ursprung
cf2abd20e8
Commit
b60a6743ed
@ -348,6 +348,9 @@ public class CraftBlock implements Block {
|
|||||||
setTypeId(Material.AIR.getId());
|
setTypeId(Material.AIR.getId());
|
||||||
if (block != null) {
|
if (block != null) {
|
||||||
block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0);
|
block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0);
|
||||||
|
for (ItemStack item : getDrops()) {
|
||||||
|
breakNaturally(item);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren