
GUI of machines stay open and interactive after their block has been broken
Jack-McKalling opened this issue ยท 4 comments
Issue type:
- ๐ Bug
Short description:
The GUI of a machine remains open when the machine gets broken, allowing the player to still interact with a non-existing machine.
Applies to:
- Variable store
- Generator
- Proxy
- Materializer
- Delayer
- Mechanical Squeezer
- Mechanical Drying Basin
Steps to reproduce the problem:
This setup breaks a machine once there is an item in it:
- Place some cables, a display panel, an inventory reader and world block importer (with attached storage) as in above screenshot
- Insert an empty variable card into the "slot item" aspect of the inventory reader (default settings)
- Open a Logic Programmer, type "null" in the search field and click on the "is not null" operator
- Insert the variable card from step2 into the input
- Insert an empty variable card into the output
- Put the card from step2 in the display panel
- Put the card from step5 into the world block exporter (top boolean aspect)
Test:
- Place one of the machines between the reader and importer as in the above screenshot
- Open its GUI
- Insert any item into the machine, the machine gets broken while its GUI remains open
- You can still take the item out that you put in
Expected behaviour:
Once the machine gets broken, its GUI should auto close too.
Versions:
- Dynamics: 1.25.4-1085
- Core: 1.25.6-713
- CC: 2.9.7-197
- Tunnels: 1.8.33-373
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.119
Log file:
It does also happen in Forge 1.20.1, but I don't actually have a 1.19 test environment anymore (since 17 test environments is already overwelming)