mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
SPIGOT-7622: Fix error with Player#sendSignChange
This commit is contained in:
parent
08ce626368
commit
3b72391602
1 changed files with 1 additions and 0 deletions
|
@ -800,6 +800,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
|
|
||||||
IChatBaseComponent[] components = CraftSign.sanitizeLines(lines);
|
IChatBaseComponent[] components = CraftSign.sanitizeLines(lines);
|
||||||
TileEntitySign sign = new TileEntitySign(CraftLocation.toBlockPosition(loc), Blocks.OAK_SIGN.defaultBlockState());
|
TileEntitySign sign = new TileEntitySign(CraftLocation.toBlockPosition(loc), Blocks.OAK_SIGN.defaultBlockState());
|
||||||
|
sign.setLevel(getHandle().level());
|
||||||
SignText text = sign.getFrontText();
|
SignText text = sign.getFrontText();
|
||||||
text = text.setColor(EnumColor.byId(dyeColor.getWoolData()));
|
text = text.setColor(EnumColor.byId(dyeColor.getWoolData()));
|
||||||
text = text.setHasGlowingText(hasGlowingText);
|
text = text.setHasGlowingText(hasGlowingText);
|
||||||
|
|
Loading…
Add table
Reference in a new issue