Merge pull request #1225 from Zjarek/master
Fix for kinesis pipes content triggers
This commit is contained in:
commit
22548ad2b1
1 changed files with 2 additions and 2 deletions
|
@ -129,14 +129,14 @@ public class TriggerPipeContents extends BCTrigger implements ITriggerPipe {
|
||||||
switch (kind) {
|
switch (kind) {
|
||||||
case Empty:
|
case Empty:
|
||||||
for (double s : transportPower.displayPower) {
|
for (double s : transportPower.displayPower) {
|
||||||
if (s > 0)
|
if (s > 1e-4)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
case ContainsEnergy:
|
case ContainsEnergy:
|
||||||
for (double s : transportPower.displayPower) {
|
for (double s : transportPower.displayPower) {
|
||||||
if (s > 0)
|
if (s > 1e-4)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue