Inventory-Free

Inventory-Free

331k Downloads

Mod Causes Items from Other Mods to Be Movable While GUIs Are Open

Darkosto opened this issue ยท 2 comments

commented

Describe the bug
I initially reported this issue to the ProjectE devs, but after further investigation, it looks like InventoryFree is the cause. Items from mods that have a GUI (like the ProjectE tablet) are allowed to move the item despite its GUI being open. This is an issue that can cause duplication glitches and losing items depending on the circumstances.

To Reproduce
Steps to reproduce the behavior:

  1. Install ProjectE and InventoryFree
  2. Open the ProjectE Tablet
  3. Pick Up the tablet with the mouse

Expected behavior
Items that have GUIs should not be allowed to move once it is opened.

Screenshots
image

image

Versions (please complete the following information):

  • Forge version: 30.1.16
  • Mod Version: InventoryFree: 1.18.2-3.1.0, ProjectE: 1.0.1

Additional context
Here is the issue posted on the ProjectE issue page: sinkillerj/ProjectE#2195

commented

After a brief glance at the code my best guess is it is because of this

commented

Yeah, that's a serious problem.

I believe pupnewfsters guess is correct. As the blocked slot does not properly wrap around the replaced slot, it does not replicate extra restrictions (or some other things) in cases such as this.