fixed gate activation feedback
This commit is contained in:
parent
e53f267d06
commit
220ee62c10
1 changed files with 4 additions and 3 deletions
|
@ -270,12 +270,13 @@ public final class Gate implements IGate {
|
|||
}
|
||||
|
||||
public boolean isGateActive() {
|
||||
for (GateExpansionController expansion : expansions.values()) {
|
||||
if (expansion.isActive()) {
|
||||
for (ActionState state : actionsState) {
|
||||
if (state == ActionState.Activated) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return redstoneOutput > 0 || !broadcastSignal.isEmpty();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isGatePulsing() {
|
||||
|
|
Loading…
Reference in a new issue