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
|
|
|
+
|
2024-10-22 17:15:00 +02:00
|
|
|
public ItemSign(Block block, Block block1, Item.Info item_info) {
|
|
|
|
super(block, block1, EnumDirection.DOWN, item_info);
|
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
|
|
|
}
|