Skip to content

Commit

Permalink
i hate everything
Browse files Browse the repository at this point in the history
  • Loading branch information
adryd325 committed Aug 25, 2024
1 parent 75d48eb commit 329a398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ yarn_mappings=1.20.2+build.1
loader_version=0.14.22

# Mod Properties
mod_version = 1.0.14.1
mod_version = 1.0.14.2
maven_group = com.adryd
archives_base_name = sneaky
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/network/ClientConnection;send(Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/PacketCallbacks;)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 329a398

Please sign in to comment.