5152535455565758596061
ItemStack cell = tg.getStackInSlot( 1 ); if ( cell != null ) { ICellHandler ch = AEApi.instance().registries().cell().getHandler( cell ); tg.openGui( p, ch, cell, side ); } else p.addChatMessage( PlayerMessages.ChestCannotReadStorageCell.get() ); }