mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +01:00
Fixed 'sign'-BlockFace (1!=l).
This commit is contained in:
parent
43e36b5bdc
commit
666c968dab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue