[0.17.7] Item inventory closing behaves strangely
Posted: Wed Mar 06, 2019 8:20 pm
I discovered this when trying to figure this out. From Rseding's response in that thread, it seems the intended behavior of closing an item gui is that the player should be returned to whatever they had open before (the main inventory in most cases).
What actually happens though, is that if the player just opened a single item from their inventory, the inventory closes completely. If they open an item, then another item and then close the inventory, they get returned to the main inventory. If they open three items and then close, they'll be returned to the first item, and so on.
What actually happens though, is that if the player just opened a single item from their inventory, the inventory closes completely. If they open an item, then another item and then close the inventory, they get returned to the main inventory. If they open three items and then close, they'll be returned to the first item, and so on.