diff options
Diffstat (limited to 'src/main/java/moe/nea/ultranotifier/mixin')
-rw-r--r-- | src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java b/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java index a9323d7..b6c013f 100644 --- a/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java +++ b/src/main/java/moe/nea/ultranotifier/mixin/ChatHudMessageAdded.java @@ -1,7 +1,7 @@ package moe.nea.ultranotifier.mixin; -import moe.nea.ultranotifier.ChatLineAddedEvent; -import moe.nea.ultranotifier.UltraNotifierEvents; +import moe.nea.ultranotifier.event.ChatLineAddedEvent; +import moe.nea.ultranotifier.event.UltraNotifierEvents; import net.minecraft.client.gui.hud.ChatHud; //#if MC > 11404 import net.minecraft.client.gui.hud.MessageIndicator; @@ -37,7 +37,7 @@ public class ChatHudMessageAdded { //#endif CallbackInfo ci ) { - if (UltraNotifierEvents.post(new ChatLineAddedEvent()).isCancelled()) { + if (UltraNotifierEvents.post(new ChatLineAddedEvent(message)).isCancelled()) { ci.cancel(); } } |