mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
SPIGOT-7622: Fix error with Player#sendSignChange
By: md_5 <git@md-5.net>
This commit is contained in:
parent
92ed83cf5c
commit
6686458555
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);
|
||||
TileEntitySign sign = new TileEntitySign(CraftLocation.toBlockPosition(loc), Blocks.OAK_SIGN.defaultBlockState());
|
||||
sign.setLevel(getHandle().level());
|
||||
SignText text = sign.getFrontText();
|
||||
text = text.setColor(EnumColor.byId(dyeColor.getWoolData()));
|
||||
text = text.setHasGlowingText(hasGlowingText);
|
||||
|
|
Loading…
Reference in a new issue