Fixing event names

This commit is contained in:
Erik Broes
2011-03-18 22:57:22 +01:00
parent 4c420e6aa8
commit 437025a179
10 changed files with 22 additions and 21 deletions

View File

@@ -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();