13
0
geforkt von Mirrors/Paper

SPIGOT-7622: Fix error with Player#sendSignChange

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2024-04-24 08:12:04 +10:00
Ursprung 92ed83cf5c
Commit 6686458555

Datei anzeigen

@ -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);