mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1be32d9e64 | ||
|
|
4db0fb818b | ||
|
|
05fde9f2a3 |
@@ -56,9 +56,9 @@ public abstract class AbstractLiquidConduit extends AbstractConduit implements I
|
||||
return false;
|
||||
}
|
||||
|
||||
if (EnderIO.hasGT5 && h instanceof IGregTechTileEntity gte) {
|
||||
IMetaTileEntity mte = gte.getMetaTileEntity();
|
||||
return mte != null && (mte.getCapacity() > 0 || gte.isSteampowered());
|
||||
if (EnderIO.hasGT5 && h instanceof IGregTechTileEntity) {
|
||||
IMetaTileEntity mte = ((IGregTechTileEntity) h).getMetaTileEntity();
|
||||
return mte != null && mte.getCapacity() > 0;
|
||||
}
|
||||
|
||||
// TODO: This check was added to work around a bug in dynamic tanks, but
|
||||
|
||||
Reference in new issue
Block a user