Skip to content

Commit

Permalink
Hopefully fix compatibility with future
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat authored Aug 15, 2023
1 parent 712d948 commit f7c14c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@Mixin(PacketInflater.class)
public class PacketInflaterMixin {
@ModifyConstant(method = "decode", constant = @Constant(intValue = 8388608))
@ModifyConstant(method = "decode", constant = @Constant(intValue = 8388608), require = 0)
private int maxValue(int value) {
return Modules.get().isActive(AntiPacketKick.class) ? Integer.MAX_VALUE : value;
}
Expand Down

0 comments on commit f7c14c6

Please sign in to comment.