mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08e03834e7 | ||
|
|
749ea96c62 | ||
|
|
f4dfa9e6cf | ||
|
|
30958c201a |
@@ -56,9 +56,9 @@ public abstract class AbstractLiquidConduit extends AbstractConduit implements I
|
||||
return false;
|
||||
}
|
||||
|
||||
if (EnderIO.hasGT5 && h instanceof IGregTechTileEntity) {
|
||||
IMetaTileEntity mte = ((IGregTechTileEntity) h).getMetaTileEntity();
|
||||
return mte != null && mte.getCapacity() > 0;
|
||||
if (EnderIO.hasGT5 && h instanceof IGregTechTileEntity gte) {
|
||||
IMetaTileEntity mte = gte.getMetaTileEntity();
|
||||
return mte != null && (mte.getCapacity() > 0 || gte.isSteampowered());
|
||||
}
|
||||
|
||||
// TODO: This check was added to work around a bug in dynamic tanks, but
|
||||
|
||||
Reference in new issue
Block a user