geforkt von Mirrors/Paper
Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493
Change ItemDye to pass the EntityHuman for StructureGrowEvent again.
Dieser Commit ist enthalten in:
Ursprung
5bfd599e9f
Commit
b6fec0467f
@ -29,7 +29,7 @@ public class ItemDye extends Item {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (itemstack.getData() == 15) {
|
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) {
|
if (!world.isStatic) {
|
||||||
world.triggerEffect(2005, i, j, k, 0);
|
world.triggerEffect(2005, i, j, k, 0);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren