diff --git a/src/main/java/com/irtimaled/bbor/mixin/server/management/MixinPlayerList.java b/src/main/java/com/irtimaled/bbor/mixin/server/management/MixinPlayerList.java index e59314c2..3b632aa2 100644 --- a/src/main/java/com/irtimaled/bbor/mixin/server/management/MixinPlayerList.java +++ b/src/main/java/com/irtimaled/bbor/mixin/server/management/MixinPlayerList.java @@ -4,6 +4,7 @@ import net.minecraft.network.ClientConnection; import net.minecraft.server.MinecraftServer; import net.minecraft.server.PlayerManager; +import net.minecraft.server.network.ConnectedClientData; import net.minecraft.server.network.ServerPlayerEntity; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; @@ -16,7 +17,7 @@ public abstract class MixinPlayerList { @Shadow public abstract MinecraftServer getServer(); @Inject(method = "onPlayerConnect", at = @At("RETURN")) - private void playerLoggedIn(ClientConnection netManager, ServerPlayerEntity player, CallbackInfo ci) { + private void playerLoggedIn(ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData, CallbackInfo ci) { CommonInterop.playerLoggedIn(player); }