Luggage

Luggage

928k Downloads

Inventory dissappears on relog

jmadarg opened this issue ยท 2 comments

commented

Forge or Fabric

NeoForge 1.21.1

Mod Version

1.6.7

Client Log

https://gist.github.com/jmadarg/ee96aea498db80c3d67b89aa2a2b563e#file-luggagetest-latest-log

Crash Report (if applicable)

No response

Bug Description

While playing on an modded server (NeoForge 21.1.41, MC 1.21.1) I noticed that if I had anything in my Luggage and disconnected then connected again, the inventory of the luggage would get wiped.

I then tested on a singleplayer world with the same pack and had the same issue. I noticed in the provided latest.log that in line 1990 it says [Server thread/ERROR] [net.minecraft.world.item.ItemStack/]: Tried to load invalid item: 'No key id in MapLike[{Slot:12b}]' with similar messages in the following lines

I'm also sharing this, my debug.log https://gist.github.com/jmadarg/d97df93067f049cf105dba68882fde83

Steps to Reproduce

  1. Join a world/server
  2. Get and place a luggage
  3. Leave the world/server
  4. Join the world/server once more
  5. Luggage's inventory is gone

Please Read and Confirm The Following

  • I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
  • I have confirmed this issue is unique and has not been reported already.
commented

I just tested something I didn't think about earlier. If you grab the luggage instead of leaving it as entity in the world, it does keep it's inventory.

commented

fixed in af0e8f7, will upload a new build shortly