From 7beedb46f84eb398fd939ac374475cd5c67ce212 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Wed, 29 Dec 2021 10:50:26 -0600 Subject: [PATCH] Check for empty component in JavaSetTitleTextTranslator --- .../protocol/java/title/JavaSetTitleTextTranslator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/title/JavaSetTitleTextTranslator.java b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/title/JavaSetTitleTextTranslator.java index 04eb76bb5..ec382677a 100644 --- a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/title/JavaSetTitleTextTranslator.java +++ b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/title/JavaSetTitleTextTranslator.java @@ -27,6 +27,7 @@ package org.geysermc.geyser.translator.protocol.java.title; import com.github.steveice10.mc.protocol.packet.ingame.clientbound.title.ClientboundSetTitleTextPacket; import com.nukkitx.protocol.bedrock.packet.SetTitlePacket; +import net.kyori.adventure.text.Component; import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.translator.protocol.PacketTranslator; import org.geysermc.geyser.translator.protocol.Translator; @@ -38,7 +39,7 @@ public class JavaSetTitleTextTranslator extends PacketTranslator