mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-22 04:16:17 +00:00
24 lines
857 B
Diff
24 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(Block block, Block block1, Item.Info item_info) {
|
|
super(block, block1, EnumDirection.DOWN, item_info);
|
|
}
|
|
@@ -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
|
|
}
|
|
}
|
|
}
|