mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
9d740b84b0
By: md_5 <git@md-5.net>
23 lines
857 B
Diff
23 lines
857 B
Diff
--- 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
|
|
}
|
|
}
|
|
}
|