Moved open method to Sky Chest Container.

This commit is contained in:
Sebastian Hartte
2020-06-02 18:57:05 +02:00
parent 2f50568237
commit 3e78c713d1
5 changed files with 22 additions and 6 deletions
@@ -487,6 +487,7 @@ public enum GuiBridge
if( this.type.isItem() )
{
final ItemStack it = player.inventory.getCurrentItem();
it.getCapability()
if( !it.isEmpty() && it.getItem() instanceof IGuiItem )
{
final Object myItem = ( (IGuiItem) it.getItem() ).getGuiObject( it, w, pos );