Skip to content

Commit

Permalink
Fix handshake mixin (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris authored Nov 19, 2023
1 parent 1900da2 commit 5633bb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@Mixin(ClientIntentionPacket.class)
public class ClientIntentionPacketMixin {
@ModifyConstant(method = "<init>(Lnet/minecraft/network/FriendlyByteBuf;)V", constant = @Constant(intValue = 255))
private int floodgate$setHandshakeLength(int defaultValue) {
private static int floodgate$setHandshakeLength(int defaultValue) {
return Short.MAX_VALUE;
}
}

0 comments on commit 5633bb8

Please sign in to comment.