Fixed Channel requirements for illuminated panels.

This commit is contained in:
AlgorithmX2
2014-04-09 14:22:36 -05:00
parent db6a958a6f
commit ac0c562b02
7 changed files with 11 additions and 11 deletions
+3 -2
View File
@@ -114,9 +114,10 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
super( PartMonitor.class, is );
}
protected PartMonitor(Class c, ItemStack is) {
protected PartMonitor(Class c, ItemStack is, boolean requireChannel ) {
super( c, is );
if ( notLightSource )
if ( requireChannel )
proxy.setFlags( GridFlags.REQUIRE_CHANNEL );
else
proxy.setIdlePowerUsage( 1.0 / 16.0 ); // lights drain a little bit.