From 0e24cfec4839bc8b0773dcdc587e305838f37262 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Fri, 18 Oct 2024 21:58:39 -0400 Subject: [PATCH] dont require the mixin, it's not present on the client --- .../mixin/compat/dcintegration/DiscordEventListenerMixin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/dev/ithundxr/railwaystweaks/mixin/compat/dcintegration/DiscordEventListenerMixin.java b/src/main/java/dev/ithundxr/railwaystweaks/mixin/compat/dcintegration/DiscordEventListenerMixin.java index 9e15338..62ec369 100644 --- a/src/main/java/dev/ithundxr/railwaystweaks/mixin/compat/dcintegration/DiscordEventListenerMixin.java +++ b/src/main/java/dev/ithundxr/railwaystweaks/mixin/compat/dcintegration/DiscordEventListenerMixin.java @@ -7,8 +7,10 @@ import de.erdbeerbaerlp.dcintegration.common.util.ComponentUtils; import de.erdbeerbaerlp.dcintegration.common.util.McServerInterface; import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Pseudo; import org.spongepowered.asm.mixin.injection.At; +@Pseudo @Mixin(targets = "de.erdbeerbaerlp.dcintegration.common.DiscordEventListener", remap = false) public class DiscordEventListenerMixin { @WrapOperation(method = "onEvent", at = @At(value = "INVOKE", target = "Lde/erdbeerbaerlp/dcintegration/common/util/McServerInterface;sendIngameMessage(Ldcshadow/net/kyori/adventure/text/Component;)V"))