diff options
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/world/item/SignItem.java.patch')
-rw-r--r-- | patch-remap/mache-spigotflower-stripped/net/minecraft/world/item/SignItem.java.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/world/item/SignItem.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/item/SignItem.java.patch new file mode 100644 index 0000000000..51e2e94845 --- /dev/null +++ b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/item/SignItem.java.patch @@ -0,0 +1,27 @@ +--- a/net/minecraft/world/item/SignItem.java ++++ b/net/minecraft/world/item/SignItem.java +@@ -13,8 +13,10 @@ + + public class SignItem extends StandingAndWallBlockItem { + +- public SignItem(Item.Properties item_properties, Block block, Block block1) { +- super(block, block1, item_properties, Direction.DOWN); ++ public static BlockPos openSign; // CraftBukkit ++ ++ public SignItem(Item.Properties properties, Block standingBlock, Block wallBlock) { ++ super(standingBlock, wallBlock, properties, Direction.DOWN); + } + + public SignItem(Item.Properties item_properties, Block block, Block block1, Direction direction) { +@@ -36,7 +37,10 @@ + if (block instanceof SignBlock) { + SignBlock signblock = (SignBlock) block; + +- signblock.openTextEdit(player, signblockentity, true); ++ // CraftBukkit start - SPIGOT-4678 ++ // blocksign.openTextEdit(entityhuman, tileentitysign, true); ++ SignItem.openSign = pos; ++ // CraftBukkit end + } + } + } |