summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorT00thpick1 <t00thpick1dirko@gmail.com>2013-07-18 19:01:27 -0400
committerWesley Wolfe <weswolf@aol.com>2013-07-25 18:27:00 -0500
commitb6fec0467f70f6c64a796f5fa9e382946bfe5d4b (patch)
treea373636677fcc2a58ffdf9332420bbf693a0741e /src/main/java
parent5bfd599e9fa2ec8daa92e5c3df04a4b2fb63c282 (diff)
downloadcraftbukkit-b6fec0467f70f6c64a796f5fa9e382946bfe5d4b.tar
craftbukkit-b6fec0467f70f6c64a796f5fa9e382946bfe5d4b.tar.gz
craftbukkit-b6fec0467f70f6c64a796f5fa9e382946bfe5d4b.tar.lz
craftbukkit-b6fec0467f70f6c64a796f5fa9e382946bfe5d4b.tar.xz
craftbukkit-b6fec0467f70f6c64a796f5fa9e382946bfe5d4b.zip
Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493
Change ItemDye to pass the EntityHuman for StructureGrowEvent again.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/ItemDye.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemDye.java b/src/main/java/net/minecraft/server/ItemDye.java
index d0ffd84f..95b681da 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);
}