diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-03-18 22:57:22 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-21 00:30:00 +0100 |
commit | 437025a179b670af6b15caff6d0f5db9f907951d (patch) | |
tree | 9ef8754ef559f554d07643f55b1176c40b729346 /src/main/java/net/minecraft/server/ItemBlock.java | |
parent | 4c420e6aa82cf8906c17fd8cf37802fb64484944 (diff) | |
download | craftbukkit-437025a179b670af6b15caff6d0f5db9f907951d.tar craftbukkit-437025a179b670af6b15caff6d0f5db9f907951d.tar.gz craftbukkit-437025a179b670af6b15caff6d0f5db9f907951d.tar.lz craftbukkit-437025a179b670af6b15caff6d0f5db9f907951d.tar.xz craftbukkit-437025a179b670af6b15caff6d0f5db9f907951d.zip |
Fixing event names
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemBlock.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBlock.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java index a38bb0b5..e70dfa9d 100644 --- a/src/main/java/net/minecraft/server/ItemBlock.java +++ b/src/main/java/net/minecraft/server/ItemBlock.java @@ -91,7 +91,7 @@ public class ItemBlock extends Item { */ if (world.setTypeIdAndData(i, j, k, a, a(itemstack.h()))) { // <-- world.b does this to place the block org.bukkit.Server server = ((WorldServer) world).getServer(); - Type eventType = Type.BLOCK_PLACED; + Type eventType = Type.BLOCK_PLACE; org.bukkit.inventory.ItemStack itemInHand = new CraftItemStack(itemstack); Player thePlayer = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity(); |