Fix liquids in tanks not rendering their top side if an opaque block is on top. (Relevant for all non-full tanks)

This commit is contained in:
Bernhard Bonigl committed 2014-08-24 20:37:52 +02:00
1 parent 1daf7fa248
commit 9070c73466
3 files changed
+12 -5

No files matched your search

@@ -93,11 +93,8 @@ public class LavaTankBlock extends BlockContainer
@Override
public boolean shouldSideBeRendered (IBlockAccess world, int x, int y, int z, int side)
{
// if (side == 0 && world.getBlockMetadata(x, y, z) == 0)
// return super.shouldSideBeRendered(world, x, y, z, side);
Block bID = world.getBlock(x, y, z);
return bID == this ? false : super.shouldSideBeRendered(world, x, y, z, side);
// return true;
}
@Override