Merge pull request #1225 from Zjarek/master

Fix for kinesis pipes content triggers
This commit is contained in:
CovertJaguar 2013-09-24 10:17:45 -07:00
commit 22548ad2b1

View file

@ -129,14 +129,14 @@ public class TriggerPipeContents extends BCTrigger implements ITriggerPipe {
switch (kind) {
case Empty:
for (double s : transportPower.displayPower) {
if (s > 0)
if (s > 1e-4)
return false;
}
return true;
case ContainsEnergy:
for (double s : transportPower.displayPower) {
if (s > 0)
if (s > 1e-4)
return true;
}