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"))