diff options
author | Erik Broes <erikbroes@ripe.net> | 2011-02-25 23:42:08 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@ripe.net> | 2011-02-25 23:42:08 +0100 |
commit | bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c (patch) | |
tree | 2204c827b387570c0be328ba6c8f55065bfc516d /src/main/java/net/minecraft/server/ItemSeeds.java | |
parent | 88dea6189a13a728e087c3b538de446a6b0291a3 (diff) | |
download | craftbukkit-bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c.tar craftbukkit-bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c.tar.gz craftbukkit-bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c.tar.lz craftbukkit-bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c.tar.xz craftbukkit-bb8d9fbe9d34e6bf26e84b1f96dfa5a3c0a1eb3c.zip |
More PLAYER_ITEM blockFace fixes of static fails; (1!=l) -- Thanks Scient for pointing it out
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemSeeds.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemSeeds.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemSeeds.java b/src/main/java/net/minecraft/server/ItemSeeds.java index 2ddb68cc..8599ddfc 100644 --- a/src/main/java/net/minecraft/server/ItemSeeds.java +++ b/src/main/java/net/minecraft/server/ItemSeeds.java @@ -35,7 +35,7 @@ public class ItemSeeds extends Item { Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity(); org.bukkit.inventory.ItemStack itemInHand = new CraftItemStack(itemstack); org.bukkit.block.Block blockClicked = craftWorld.getBlockAt(i, j, k); - BlockFace blockface = CraftBlock.notchToBlockFace(1); + BlockFace blockface = CraftBlock.notchToBlockFace(l); PlayerItemEvent event = new PlayerItemEvent(eventType, who, itemInHand, blockClicked, blockface); craftServer.getPluginManager().callEvent(event); |