Skip to content

Commit

Permalink
dont require the mixin, it's not present on the client
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 19, 2024
1 parent 6975a29 commit 0e24cfe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 0e24cfe

Please sign in to comment.