From 64d9d3d489527977e2d0b8d8d6780aa5ff0118ad Mon Sep 17 00:00:00 2001 From: MicrocontrollersDev Date: Sat, 6 Jul 2024 13:42:29 -0700 Subject: [PATCH] increase chat priority to fix skyhanni compat --- .../java/org/polyfrost/hytils/handlers/chat/ChatHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/polyfrost/hytils/handlers/chat/ChatHandler.java b/src/main/java/org/polyfrost/hytils/handlers/chat/ChatHandler.java index 065212b..7c16c25 100644 --- a/src/main/java/org/polyfrost/hytils/handlers/chat/ChatHandler.java +++ b/src/main/java/org/polyfrost/hytils/handlers/chat/ChatHandler.java @@ -19,6 +19,7 @@ package org.polyfrost.hytils.handlers.chat; import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils; +import net.minecraftforge.fml.common.eventhandler.EventPriority; import org.polyfrost.hytils.HytilsReborn; import org.polyfrost.hytils.handlers.chat.modules.blockers.*; import org.polyfrost.hytils.handlers.chat.modules.events.AchievementEvent; @@ -139,7 +140,7 @@ public void handleWorldLeave(WorldEvent.Unload e) { } } - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.HIGH) public void handleChat(ClientChatReceivedEvent event) { if (!HypixelUtils.INSTANCE.isHypixel()) { return;