Draylar / inmis

I need more inventory space! A Fabric backpack mod.
https://www.curseforge.com/minecraft/mc-mods/inmis
MIT License
33 stars 31 forks source link

Bug when putting the backpack into the backpack #40

Closed linzexin022 closed 4 years ago

linzexin022 commented 4 years ago

Hi there, I found that If I put A backpack (except ender backpack) into B backpack, drop B backpack to the ground, then A backpack will disappear.

Caridmum commented 4 years ago

Also found this, A backpack will also disappear if the B backpack is simply moved to another inventory slot.

pett-j commented 4 years ago

I can add to this issue,

Putting B into A makes B disappear..

Draylar commented 4 years ago

1.3.1 makes it so you can't (easily) place backpacks into other backpacks. I didn't touch the clear bug (so don't try to put it in), so I will attempt to fully patch it if people still figure out how to get past the slot locks.

kotx commented 3 years ago

1.3.1 makes it so you can't (easily) place backpacks into other backpacks. I didn't touch the clear bug (so don't try to put it in), so I will attempt to fully patch it if people still figure out how to get past the slot locks.

@Draylar hey, it seems like you just blocked moving the backpack item with a mouse. However pressing number keys like 1 2 3 etc. isn't canceled. The server crashes with StackOverflowError when the client attempts this.

Repro steps:

  1. Place an item in a backpack
  2. Hover over the item
  3. Press a hotbar swapping key to swap the item and the backpack in the hotbar slot.
Draylar commented 3 years ago

Please provide your server game log through your text file sharing tool of choice.

kotx commented 3 years ago

Please provide your server game log through your text file sharing tool of choice.

My bad, seems to work on the latest version. My client and server versions were out of sync.