Tiviacz1337 / Travelers-Backpack

Unique and upgradeable backpacks with customisation, Curios API/Trinkets integration and more!
133 stars 77 forks source link

Corrupted data by reserving backpack slot for an enchanted item #944

Closed eyescreaming closed 6 days ago

eyescreaming commented 1 week ago
  1. ALWAYS PROVIDE INFORMATION ABOUT MODLOADER (Fabric / Forge) AND MOD VERSION (For Example 1.19.2-8.2.10) Minecraft 1.21 with Fabric Loader 0.15.11 travelersbackpack-fabric-1.21-10.0.2 Tried updating to latest version fabric-1.21.1-10.0.3 but issue persists.

  2. Describe the bug Lost connection from singleplayer world after creating reserved places for enchanted item in backpack. When attempting to open the world again, I either get "Disconnected" to server list or Connection Lost. (lost connection: Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:container_set_content')

  3. Write steps to reproduce the bug

Tested with an Enchanted Golden Helmet

  1. What is expected behaviour Enter select mode, Reserve slot for item, Exit select mode, Close backpack The world save shouldn't be corrupted

  2. Screenshots (If applicable) Error Log https://pastebin.com/DPHBehaK

Tiviacz1337 commented 6 days ago

https://www.curseforge.com/minecraft/mc-mods/travelers-backpack-fabric/files/5498352