mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user