diff --git a/common/src/main/java/dev/tonimatas/packetfixer/mixins/MixinConfigPlugin.java b/common/src/main/java/dev/tonimatas/packetfixer/mixins/MixinConfigPlugin.java index a40ba8e..32f3f1a 100644 --- a/common/src/main/java/dev/tonimatas/packetfixer/mixins/MixinConfigPlugin.java +++ b/common/src/main/java/dev/tonimatas/packetfixer/mixins/MixinConfigPlugin.java @@ -13,7 +13,6 @@ public class MixinConfigPlugin implements IMixinConfigPlugin { @Override public void onLoad(String mixinPackage) { - System.getProperties().setProperty("forge.disablePacketCompressionDebug", "true"); } @Override diff --git a/common/src/main/java/dev/tonimatas/packetfixer/mixins/compat/connectivity/CompressionDecoderMixin.java b/common/src/main/java/dev/tonimatas/packetfixer/mixins/compat/connectivity/CompressionDecoderMixin.java index 0d0e9f5..580c0b1 100644 --- a/common/src/main/java/dev/tonimatas/packetfixer/mixins/compat/connectivity/CompressionDecoderMixin.java +++ b/common/src/main/java/dev/tonimatas/packetfixer/mixins/compat/connectivity/CompressionDecoderMixin.java @@ -7,7 +7,7 @@ @Mixin(value = CompressionDecoder.class, priority = 9999) public class CompressionDecoderMixin { - @ModifyConstant(method = "decode", constant = @Constant(intValue = 8388608)) + @ModifyConstant(method = "decode", constant = @Constant(intValue = 2097152)) private int newSize(int value) { return Integer.MAX_VALUE; } diff --git a/gradle.properties b/gradle.properties index 63551d0..0a0adcd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # Mod Properties -modVersion=1.2.5 +modVersion=1.2.6 # Minecraft minecraftVersion=1.19.2