From 4cd472906cee305f236ef7bbbec7fe4bbb375f35 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Thu, 8 Jun 2023 16:30:25 -0400 Subject: [PATCH] Update handling of sign color/glow for 1.20 (#3835) --- .../level/block/entity/SignBlockEntityTranslator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/translator/level/block/entity/SignBlockEntityTranslator.java b/core/src/main/java/org/geysermc/geyser/translator/level/block/entity/SignBlockEntityTranslator.java index f5dae3818..238b136ff 100644 --- a/core/src/main/java/org/geysermc/geyser/translator/level/block/entity/SignBlockEntityTranslator.java +++ b/core/src/main/java/org/geysermc/geyser/translator/level/block/entity/SignBlockEntityTranslator.java @@ -133,13 +133,13 @@ public class SignBlockEntityTranslator extends BlockEntityTranslator { builder.putString("Text", signText.toString()); // Java Edition 1.14 added the ability to change the text color of the whole sign using dye - Tag color = signData.get("Color"); + Tag color = signData.get("color"); if (color != null) { builder.putInt("SignTextColor", getBedrockSignColor(color.getValue().toString())); } // Glowing text - boolean isGlowing = getOrDefault(signData.get("GlowingText"), (byte) 0) != (byte) 0; + boolean isGlowing = getOrDefault(signData.get("has_glowing_text"), (byte) 0) != (byte) 0; builder.putBoolean("IgnoreLighting", isGlowing); return builder.build(); }