diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/item/ItemSign.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/item/ItemSign.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/item/ItemSign.patch b/patch-remap/og/net/minecraft/world/item/ItemSign.patch new file mode 100644 index 0000000000..2b304e15d8 --- /dev/null +++ b/patch-remap/og/net/minecraft/world/item/ItemSign.patch @@ -0,0 +1,23 @@ +--- a/net/minecraft/world/item/ItemSign.java ++++ b/net/minecraft/world/item/ItemSign.java +@@ -13,6 +13,8 @@ + + public class ItemSign extends ItemBlockWallable { + ++ public static BlockPosition openSign; // CraftBukkit ++ + public ItemSign(Item.Info item_info, Block block, Block block1) { + super(block, block1, item_info, EnumDirection.DOWN); + } +@@ -35,7 +37,10 @@ + if (block instanceof BlockSign) { + BlockSign blocksign = (BlockSign) block; + +- blocksign.openTextEdit(entityhuman, tileentitysign, true); ++ // CraftBukkit start - SPIGOT-4678 ++ // blocksign.openTextEdit(entityhuman, tileentitysign, true); ++ ItemSign.openSign = blockposition; ++ // CraftBukkit end + } + } + } |