restore the old redstone i/o behaviour in core/triggers as well
This commit is contained in:
parent
210900a8f8
commit
d02b0dc066
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ public class TriggerRedstoneInput extends BCTrigger {
|
|||
@Override
|
||||
public boolean isTriggerActive(IGate gate, ITriggerParameter[] parameters) {
|
||||
TileGenericPipe tile = (TileGenericPipe) gate.getPipe().getTile();
|
||||
int level = tile.redstoneInputSide[gate.getSide().ordinal()];
|
||||
//int level = tile.redstoneInputSide[gate.getSide().ordinal()];
|
||||
int level = tile.redstoneInput;
|
||||
|
||||
return active ? level > 0 : level == 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue