Skip to content

fix(bedrock/proto): mismatched field type in TransactionActions#1157

Open
hax0r31337 wants to merge 4 commits intoPrismarineJS:masterfrom
hax0r31337:master
Open

fix(bedrock/proto): mismatched field type in TransactionActions#1157
hax0r31337 wants to merge 4 commits intoPrismarineJS:masterfrom
hax0r31337:master

Conversation

@hax0r31337
Copy link

@hax0r31337 hax0r31337 commented Mar 15, 2026

inventory_id should be zigzag32 instead of varint
https://github.com/CloudburstMC/Nukkit/blob/master/src/main/java/cn/nukkit/network/protocol/types/NetworkInventoryAction.java#L74

I have also removed the unreachable negative enum entries on WindowIDVarint type as varint type are serialized as unsigned

@hax0r31337 hax0r31337 closed this Mar 16, 2026
@hax0r31337 hax0r31337 reopened this Mar 16, 2026
@hax0r31337
Copy link
Author

🤦 I totally forgot i8 is signed int when i created this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant