Skip to content

Commit

Permalink
Remove ContainerListener from ServerPlayerMixin
Browse files Browse the repository at this point in the history
It is no longer a part of the hierarchy, and is causing Mixin to
create technically invalid bytecode as it leaves unimplemented
abstract methods
  • Loading branch information
ChloeDawn committed Nov 17, 2021
1 parent 64ee644 commit 747c5bf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 747c5bf

Please sign in to comment.