Compare commits

..
1 Commits
Author SHA1 Message Date
RealSilverMoon 08e03834e7 Fix liquidConduit not connecting to steam machines 2026-11-18 10:27:25 +08:00
@@ -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