mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493
Change ItemDye to pass the EntityHuman for StructureGrowEvent again.
This commit is contained in:
parent
5bfd599e9f
commit
b6fec0467f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class ItemDye extends Item {
|
|||
return false;
|
||||
} else {
|
||||
if (itemstack.getData() == 15) {
|
||||
if (a(itemstack, world, i, j, k)) {
|
||||
if (a(itemstack, world, i, j, k, entityhuman)) { // CraftBukkit - pass entity for StructureGrowEvent
|
||||
if (!world.isStatic) {
|
||||
world.triggerEffect(2005, i, j, k, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue