Metal Chests

Metal Chests

3M Downloads

[Bug] Placing enchanted chests on server crashes player

Akitori opened this issue ยท 6 comments

commented

Problem Details

There is a server issue where placing a enchanted chest randomly crashes the placer.

  1. Get enchanted chest.
  2. Place it down once. Open it, look inside, notice slots aren't added.
  3. Try to replace chest.
  4. CRAAASSSSSHHH

https://pastebin.com/BiU5wKXG

Environment

  • OS: Windows 10
  • Full Forge version: forge1.12.2-14.23.5.2838
  • Mod version: MetalChests 5.2.8
commented

This seems to be happening b/c an instance of the Obsidian chest cannot be read from the tile entity NBT. You say this is happening w/ an iron chest? Have you changed the mod's JSON config file at all?

commented

I haven't changed any files related to Iron Chest, so i will safely say no.

commented

So when you say "Iron Chest" do you mean any metal chest?

commented

Yes, any enchanted chest.

commented

Also some strange things server side. After the chest is placed, when relogging back in, the chest is facing away from the player and lacks the enchanted glint. Its just a normal iron chest at that point

commented

After some minor changes, I see no crashing from interacting w/ an enchanted chest, even after restarting the server. Something small likely fixed this.