mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-10-26 14:24:40 +00:00
set fluid conduit default to output only
This commit is contained in:
1 parent
f44111da96
commit
1af6fcae0b
1 file changed
+8
-3
@@ -157,11 +157,11 @@ public abstract class AbstractLiquidConduit extends AbstractConduit implements I
|
|||||||
boolean res;
|
boolean res;
|
||||||
if (mode == RedstoneControlMode.OFF) {
|
if (mode == RedstoneControlMode.OFF) {
|
||||||
// if checking for no signal, must be no signal from both
|
// if checking for no signal, must be no signal from both
|
||||||
res = mode.isConditionMet(mode, signal)
|
res = RedstoneControlMode.isConditionMet(mode, signal)
|
||||||
&& (col != DyeColor.RED || isConditionMetByExternalSignal(dir, mode, col));
|
&& (col != DyeColor.RED || isConditionMetByExternalSignal(dir, mode, col));
|
||||||
} else {
|
} else {
|
||||||
// if checking for a signal, either is fine
|
// if checking for a signal, either is fine
|
||||||
res = mode.isConditionMet(mode, signal)
|
res = RedstoneControlMode.isConditionMet(mode, signal)
|
||||||
|| (col == DyeColor.RED && isConditionMetByExternalSignal(dir, mode, col));
|
|| (col == DyeColor.RED && isConditionMetByExternalSignal(dir, mode, col));
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
@@ -180,7 +180,12 @@ public abstract class AbstractLiquidConduit extends AbstractConduit implements I
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return mode.isConditionMet(mode, externalSignal);
|
return RedstoneControlMode.isConditionMet(mode, externalSignal);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected ConnectionMode getDefaultConnectionMode() {
|
||||||
|
return ConnectionMode.INPUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user