From 747c5bf6c561962620241cd5d6325c5fc397f1a6 Mon Sep 17 00:00:00 2001 From: Chloe Dawn Date: Wed, 17 Nov 2021 18:58:11 +0000 Subject: [PATCH] Remove ContainerListener from ServerPlayerMixin It is no longer a part of the hierarchy, and is causing Mixin to create technically invalid bytecode as it leaves unimplemented abstract methods --- .../java/dev/sapphic/couplings/mixin/ServerPlayerMixin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/dev/sapphic/couplings/mixin/ServerPlayerMixin.java b/src/main/java/dev/sapphic/couplings/mixin/ServerPlayerMixin.java index 900ad3e..98b6417 100644 --- a/src/main/java/dev/sapphic/couplings/mixin/ServerPlayerMixin.java +++ b/src/main/java/dev/sapphic/couplings/mixin/ServerPlayerMixin.java @@ -21,13 +21,12 @@ import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.player.Player; -import net.minecraft.world.inventory.ContainerListener; import net.minecraft.world.level.Level; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; @Mixin(ServerPlayer.class) -abstract class ServerPlayerMixin extends Player implements ContainerListener, CouplingsPlayer { +abstract class ServerPlayerMixin extends Player implements CouplingsPlayer { @Unique private boolean couplingIgnoresSneaking = true; ServerPlayerMixin(final Level level, final BlockPos pos, final float spawnAngle, final GameProfile profile) {