SirSengir/BuildCraft — pull request #424 by nevercast (2012-11-17 03:22:25+00:00)
Title: Fixed game breaking power bug!

cpw's new power code didn't take in to account that internalPower might be zero when powerQuery is zero, such as when a cable is not being used, being placed, or a machine has not been loaded yet. This caused the internal power to drop in to negatives. Breaking all power because the internal power value would end up around negative 60 thousand MJ,

This if fixes it all. Tested by me, should have no side effects.