diff --git a/src/com/loohp/interactivechat/Utils/ChatComponentUtils.java b/src/com/loohp/interactivechat/Utils/ChatComponentUtils.java index f19972eb..9ea687d3 100644 --- a/src/com/loohp/interactivechat/Utils/ChatComponentUtils.java +++ b/src/com/loohp/interactivechat/Utils/ChatComponentUtils.java @@ -126,13 +126,15 @@ public static boolean areSimilarNoEvents(BaseComponent base1, BaseComponent base } public static boolean areFontsSimilar(BaseComponent base1, BaseComponent base2) { - if ((base1.getFontRaw() == null && base2.getFontRaw() != null) || (base1.getFontRaw() != null && base2.getFontRaw() == null)) { - return false; - } - if (base1.getFontRaw() != null && base2.getFontRaw() != null) { - if (!base1.getFontRaw().equals(base2.getFontRaw())) { + if (InteractiveChat.version.isPost1_16()) { + if ((base1.getFontRaw() == null && base2.getFontRaw() != null) || (base1.getFontRaw() != null && base2.getFontRaw() == null)) { return false; } + if (base1.getFontRaw() != null && base2.getFontRaw() != null) { + if (!base1.getFontRaw().equals(base2.getFontRaw())) { + return false; + } + } } return true; } diff --git a/src/plugin.yml b/src/plugin.yml index 27408064..58677969 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: InteractiveChat author: loohp -version: 2.6.1 +version: 2.6.2 main: com.loohp.interactivechat.InteractiveChat api-version: 1.13 description: Make the chat interactive