From b6fec0467f70f6c64a796f5fa9e382946bfe5d4b Mon Sep 17 00:00:00 2001 From: T00thpick1 Date: Thu, 18 Jul 2013 19:01:27 -0400 Subject: [PATCH] Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493 Change ItemDye to pass the EntityHuman for StructureGrowEvent again. --- src/main/java/net/minecraft/server/ItemDye.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemDye.java b/src/main/java/net/minecraft/server/ItemDye.java index d0ffd84fb5..95b681da95 100644 --- a/src/main/java/net/minecraft/server/ItemDye.java +++ b/src/main/java/net/minecraft/server/ItemDye.java @@ -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); }