Skip to content

Commit

Permalink
Fix connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Feb 11, 2024
1 parent 8c78c02 commit 58338a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class MixinConfigPlugin implements IMixinConfigPlugin {

@Override
public void onLoad(String mixinPackage) {
System.getProperties().setProperty("forge.disablePacketCompressionDebug", "true");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58338a9

Please sign in to comment.