[1.12] Wolf inventory size is not serialized properly between server and client
satyrnidae opened this issue ยท 0 comments
Issue Description
When the server syncs its config to a client, the inventory is written to the NBT tag incorrectly, causing it to end up swapping rows for columns.
Reproduction Steps
Steps to reproduce the behavior:
- Start a server with a configured inventory size of 3x2
- Start a client with a configured inventory size of 3x2
- Enter a client world, spawn, tame, and add a backpack to a wolf
- Shift+right click; inventory appears normal (3 columns by 2 rows)
- Exit the client world and connect to the server
- Spawn, tame, and add a backpack to a wolf
- Shift+right click; inventory is now 2 columns by 3 rows
Expected Behavior
The server and client synced inventory size should always be equivalent.
Version Information:
- OS: Windows 10
- Java: jdk1.8.0_261
- Minecraft Version: 1.12.2
- Forge Version: 14.23.5.2838
- Mod Version: 3.7.0-alpha
Additional Context
Found during server testing for 3.7.0