Lots of compile fixes

This commit is contained in:
Sebastian Hartte
2020-06-04 03:02:48 +02:00
parent 6eb2a9504a
commit 237463dd94
241 changed files with 3438 additions and 3474 deletions
@@ -1285,9 +1285,10 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
final ItemStack textureItem = facade.getTextureItem();
final BlockState blockState = facade.getBlockState();
if( blockState != null && textureItem != null )
World world = getTile().getWorld();
if( blockState != null && textureItem != null && world != null )
{
return new FacadeRenderState( blockState, !facade.getBlockState().isOpaqueCube() );
return new FacadeRenderState( blockState, !facade.getBlockState().isOpaqueCube(world, getTile().getPos()) );
}
}