Fixes transparency of tab button icons.
Fixes priority sub-gui returning to ME-chest-interface rather than storage-cell interface for ME chests.
This commit is contained in:
@@ -90,16 +90,13 @@ public class BlockChest extends AEBaseTileBlock<TileChest>
|
||||
return ActionResultType.SUCCESS;
|
||||
}
|
||||
|
||||
if( hit.getFace() != tg.getUp() )
|
||||
{
|
||||
ContainerOpener.openContainer(ContainerChest.TYPE, p, ContainerLocator.forTileEntitySide(tg, hit.getFace()));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (hit.getFace() == tg.getUp()) {
|
||||
if( !tg.openGui( p ) )
|
||||
{
|
||||
p.sendMessage( PlayerMessages.ChestCannotReadStorageCell.get() );
|
||||
}
|
||||
} else {
|
||||
ContainerOpener.openContainer(ContainerChest.TYPE, p, ContainerLocator.forTileEntitySide(tg, hit.getFace()));
|
||||
}
|
||||
|
||||
return ActionResultType.SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user