mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Fix non-opaque facades hiding conduits and conduit TESRs
This commit is contained in:
1 parent
ad107a14fb
commit
941dc580fb
2 files changed
+3
-2
No files matched your search
@@ -83,8 +83,7 @@ public class TileConduitBundle extends TileEntityEio implements IConduitBundle {
|
||||
|
||||
@Override
|
||||
public boolean shouldRenderInPass(int arg0) {
|
||||
// TODO Can avoid the call to the TESR here
|
||||
if(facadeId != null && !ConduitUtil.isFacadeHidden(this, EnderIO.proxy.getClientPlayer())) {
|
||||
if(facadeId != null && facadeId.isOpaqueCube() && !ConduitUtil.isFacadeHidden(this, EnderIO.proxy.getClientPlayer())) {
|
||||
return false;
|
||||
}
|
||||
return super.shouldRenderInPass(arg0);
|
||||
|
||||
@@ -177,6 +177,8 @@ public class ConduitBundleRenderer extends TileEntitySpecialRenderer implements
|
||||
|
||||
rb.blockAccess = origBa;
|
||||
}
|
||||
|
||||
res = isFacadeOpaque;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user