Skip to content

Commit

Permalink
修复问题
Browse files Browse the repository at this point in the history
fixed #14
fixed #15
  • Loading branch information
Gu-ZT committed Jul 30, 2024
1 parent 82a8511 commit 5f4c4ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@Mixin(PacketInflater.class)
public abstract class PacketInflaterMixin {
@ModifyConstant(method = "decode",constant = @Constant(intValue = 2097152))
@ModifyConstant(method = "decode",constant = @Constant(intValue = 8388608))
private int decode(int old) {
return 0x7FFFFFFF;
}
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"icon": "icon.png",
"contact": {},
"accessWidener" : "bugjump.accesswidener",
"accessWidener": "bugjump.accesswidener",
"license": "MIT",
"environment": "*",
"entrypoints": {
Expand All @@ -23,5 +23,8 @@
"depends": {
"fabricloader": ">=0.14.9",
"minecraft": ">=1.19"
},
"breaks": {
"xlpackets": "*"
}
}

0 comments on commit 5f4c4ce

Please sign in to comment.