summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorErik Broes <erikbroes@ripe.net>2011-02-25 21:57:18 +0100
committerErik Broes <erikbroes@ripe.net>2011-02-25 22:44:25 +0100
commit666c968dab175e45f8112ecd9c9dcd1e290b3675 (patch)
tree0c650b8379332bb2bc18b24ec01a0aa45dcd5626 /src/main/java/net/minecraft/server
parent43e36b5bdc63178350c7f0982022954468f9b774 (diff)
downloadcraftbukkit-666c968dab175e45f8112ecd9c9dcd1e290b3675.tar
craftbukkit-666c968dab175e45f8112ecd9c9dcd1e290b3675.tar.gz
craftbukkit-666c968dab175e45f8112ecd9c9dcd1e290b3675.tar.lz
craftbukkit-666c968dab175e45f8112ecd9c9dcd1e290b3675.tar.xz
craftbukkit-666c968dab175e45f8112ecd9c9dcd1e290b3675.zip
Fixed 'sign'-BlockFace (1!=l).
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/ItemSign.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemSign.java b/src/main/java/net/minecraft/server/ItemSign.java
index a7ca85bb..d2e6bcaa 100644
--- a/src/main/java/net/minecraft/server/ItemSign.java
+++ b/src/main/java/net/minecraft/server/ItemSign.java
@@ -59,7 +59,7 @@ public class ItemSign extends Item {
Type eventType = Type.PLAYER_ITEM;
Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
org.bukkit.inventory.ItemStack itemInHand = new CraftItemStack(itemstack);
- BlockFace blockface = CraftBlock.notchToBlockFace(1);
+ BlockFace blockface = CraftBlock.notchToBlockFace(l);
PlayerItemEvent event = new PlayerItemEvent(eventType, who, itemInHand, blockClicked, blockface);
craftServer.getPluginManager().callEvent(event);