Skip to content

Commit

Permalink
i hate everything 2
Browse files Browse the repository at this point in the history
  • Loading branch information
adryd325 committed Aug 25, 2024
1 parent b8b97c0 commit c83a2d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MixinServerLoginNetworkHandler {
@Nullable
private GameProfile profile;

@Inject(method = "tickVerify", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/network/ServerLoginNetworkHandler;sendSuccessPacket(Lcom/mojang/authlib/GameProfile;)V", shift = At.Shift.AFTER))
@Inject(method = "tickVerify", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/PlayerManager;disconnectDuplicateLogins(Lcom/mojang/authlib/GameProfile;)Z"))
private void atSuccessfulJoin(CallbackInfo ci) {
IPList.INSTANCE.addToIPList(this.connection.getAddress());
}
Expand Down

0 comments on commit c83a2d6

Please sign in to comment.