SpoutDev/Spout — Issue #803: Lid on chests
Author: Gabriel333
Created: 2011-10-24 16:35:15+00:00
State: open

It looks like there is a bug in either

openInventoryWindow or closeActiveWindows. The lid on the chest often remains open when I use these too Spout methods to open and close the inventory in the chest. The bug is both on singlechest and double chests.

This is how I open the inventory:
SpoutChest sChest = (SpoutChest) sBlock.getState();
Inventory inv = sChest.getLargestInventory();
sPlayer.openInventoryWindow(inv);

and this is how i close it:
sPlayer.closeActiveWindow();

Its hard to see I can make anything wrong? or????