Fixed 'sign'-BlockFace (1!=l).
Dieser Commit ist enthalten in:
Ursprung
43e36b5bdc
Commit
666c968dab
@ -59,7 +59,7 @@ public class ItemSign extends Item {
|
|||||||
Type eventType = Type.PLAYER_ITEM;
|
Type eventType = Type.PLAYER_ITEM;
|
||||||
Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
|
Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
|
||||||
org.bukkit.inventory.ItemStack itemInHand = new CraftItemStack(itemstack);
|
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);
|
PlayerItemEvent event = new PlayerItemEvent(eventType, who, itemInHand, blockClicked, blockface);
|
||||||
craftServer.getPluginManager().callEvent(event);
|
craftServer.getPluginManager().callEvent(event);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren