mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 10:44:39 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
23 lines
866 B
Diff
23 lines
866 B
Diff
--- a/net/minecraft/world/item/SignItem.java
|
|
+++ b/net/minecraft/world/item/SignItem.java
|
|
@@ -13,6 +13,8 @@
|
|
|
|
public class SignItem extends StandingAndWallBlockItem {
|
|
|
|
+ public static BlockPos openSign; // CraftBukkit
|
|
+
|
|
public SignItem(Block standingBlock, Block wallBlock, Item.Properties settings) {
|
|
super(standingBlock, wallBlock, Direction.DOWN, settings);
|
|
}
|
|
@@ -35,7 +37,10 @@
|
|
if (block instanceof SignBlock) {
|
|
SignBlock blocksign = (SignBlock) block;
|
|
|
|
- blocksign.openTextEdit(player, tileentitysign, true);
|
|
+ // CraftBukkit start - SPIGOT-4678
|
|
+ // blocksign.openTextEdit(entityhuman, tileentitysign, true);
|
|
+ SignItem.openSign = pos;
|
|
+ // CraftBukkit end
|
|
}
|
|
}
|
|
}
|