diff options
Diffstat (limited to 'paper-server/patches/unapplied/net/minecraft/world/item/SignItem.java.patch')
-rw-r--r-- | paper-server/patches/unapplied/net/minecraft/world/item/SignItem.java.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/paper-server/patches/unapplied/net/minecraft/world/item/SignItem.java.patch b/paper-server/patches/unapplied/net/minecraft/world/item/SignItem.java.patch new file mode 100644 index 0000000000..50c0cdf7d1 --- /dev/null +++ b/paper-server/patches/unapplied/net/minecraft/world/item/SignItem.java.patch @@ -0,0 +1,23 @@ +--- a/net/minecraft/world/item/SignItem.java ++++ b/net/minecraft/world/item/SignItem.java +@@ -13,6 +13,8 @@ + + public class SignItem extends StandingAndWallBlockItem { + ++ public static BlockPos openSign; // CraftBukkit ++ + public SignItem(Block standingBlock, Block wallBlock, Item.Properties settings) { + super(standingBlock, wallBlock, Direction.DOWN, settings); + } +@@ -35,7 +37,10 @@ + if (block instanceof SignBlock) { + SignBlock blocksign = (SignBlock) block; + +- blocksign.openTextEdit(player, tileentitysign, true); ++ // CraftBukkit start - SPIGOT-4678 ++ // blocksign.openTextEdit(entityhuman, tileentitysign, true); ++ SignItem.openSign = pos; ++ // CraftBukkit end + } + } + } |