mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 14:34:41 +08:00
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.
This commit is contained in:
parent
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user