diff options
author | Feildmaster <admin@feildmaster.com> | 2012-02-11 23:32:24 -0600 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-22 21:46:45 -0500 |
commit | 7792156fb25d25103d4a5e8ccfd563ff1707560d (patch) | |
tree | 7e90ecc9bb6b2fd6290b9613686bd04f1b9f96bc /src/main/java/net/minecraft/server/BlockCactus.java | |
parent | 847e1c62c5b6d5f40d0be8a465140e8255e82ec9 (diff) | |
download | craftbukkit-7792156fb25d25103d4a5e8ccfd563ff1707560d.tar craftbukkit-7792156fb25d25103d4a5e8ccfd563ff1707560d.tar.gz craftbukkit-7792156fb25d25103d4a5e8ccfd563ff1707560d.tar.lz craftbukkit-7792156fb25d25103d4a5e8ccfd563ff1707560d.tar.xz craftbukkit-7792156fb25d25103d4a5e8ccfd563ff1707560d.zip |
[Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockCactus.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockCactus.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockCactus.java b/src/main/java/net/minecraft/server/BlockCactus.java index b9da7d2a..c7235365 100644 --- a/src/main/java/net/minecraft/server/BlockCactus.java +++ b/src/main/java/net/minecraft/server/BlockCactus.java @@ -26,7 +26,7 @@ public class BlockCactus extends Block { int i1 = world.getData(i, j, k); if (i1 == 15) { - world.setTypeId(i, j + 1, k, this.id); + org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, i, j + 1, k, this.id, 0); // CraftBukkit world.setData(i, j, k, 0); } else { world.setData(i, j, k, i1 + 1); |