Skip to content

Commit

Permalink
Fix mixin error.
Browse files Browse the repository at this point in the history
Didn't encounter it, but might cause a crash, once loaded.
  • Loading branch information
EnderKill98 committed Apr 2, 2024
1 parent aff04f3 commit 1379260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/squeek/appleskin/mixin/PlayerManagerMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import net.minecraft.network.ClientConnection;
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.injection.At;
Expand All @@ -13,7 +14,7 @@
public class PlayerManagerMixin
{
@Inject(at = @At("TAIL"), method = "onPlayerConnect")
private void onPlayerConnect(ClientConnection conn, ServerPlayerEntity player, CallbackInfo info)
private void onPlayerConnect(ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData, CallbackInfo info)
{
SyncHandler.onPlayerLoggedIn(player);
}
Expand Down

0 comments on commit 1379260

Please sign in to comment.