2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/item/ItemSign.java
|
|
|
|
+++ b/net/minecraft/world/item/ItemSign.java
|
2023-06-07 17:30:00 +02:00
|
|
|
@@ -13,6 +13,8 @@
|
2019-03-24 11:34:57 +01:00
|
|
|
|
|
|
|
public class ItemSign extends ItemBlockWallable {
|
|
|
|
|
2019-04-25 01:55:41 +02:00
|
|
|
+ public static BlockPosition openSign; // CraftBukkit
|
2019-04-23 06:00:30 +02:00
|
|
|
+
|
2019-04-23 04:00:00 +02:00
|
|
|
public ItemSign(Item.Info item_info, Block block, Block block1) {
|
2022-12-07 17:00:00 +01:00
|
|
|
super(block, block1, item_info, EnumDirection.DOWN);
|
2019-03-24 11:34:57 +01:00
|
|
|
}
|
2023-06-07 17:30:00 +02:00
|
|
|
@@ -35,7 +37,10 @@
|
|
|
|
if (block instanceof BlockSign) {
|
|
|
|
BlockSign blocksign = (BlockSign) block;
|
2019-03-24 11:34:57 +01:00
|
|
|
|
2023-06-07 17:30:00 +02:00
|
|
|
- blocksign.openTextEdit(entityhuman, tileentitysign, true);
|
|
|
|
+ // CraftBukkit start - SPIGOT-4678
|
|
|
|
+ // blocksign.openTextEdit(entityhuman, tileentitysign, true);
|
|
|
|
+ ItemSign.openSign = blockposition;
|
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|
|
|
|
}
|
2019-03-24 11:34:57 +01:00
|
|
|
}
|