diff --git a/src/com/loohp/interactivechat/Listeners/ChatPackets.java b/src/com/loohp/interactivechat/Listeners/ChatPackets.java index ad8063f0..ab124c25 100644 --- a/src/com/loohp/interactivechat/Listeners/ChatPackets.java +++ b/src/com/loohp/interactivechat/Listeners/ChatPackets.java @@ -62,7 +62,11 @@ public void onPacketSending(PacketEvent event) { BaseComponent[] basecomponentarray = (wcc != null) ? ComponentSerializer.parse(wcc.getJson()) : (BaseComponent[]) field1; int field = (wcc != null) ? 0 : 1; BaseComponent basecomponent = basecomponentarray[0]; - if (basecomponent.toPlainText().equals("")) { + try { + if (basecomponent.toLegacyText().equals("")) { + return; + } + } catch (Exception e) { return; }