geforkt von Mirrors/Paper
Ignore block functions for skulls on BlockPlace. Fixes BUKKIT-3495
Skulls don't normally get block data applied to them, so we shouldn't apply it either.
Dieser Commit ist enthalten in:
Ursprung
899b9c17cc
Commit
f20d6e3595
@ -105,7 +105,8 @@ public class ItemBlock extends Item {
|
||||
|
||||
world.update(x, y, z, newId);
|
||||
|
||||
if (block != null) {
|
||||
// Skulls don't get block data applied to them
|
||||
if (block != null && block != Block.SKULL) {
|
||||
block.postPlace(world, x, y, z, entityhuman);
|
||||
block.postPlace(world, x, y, z, newData);
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren