Fixed game breaking power bug
This commit is contained in:
parent
fb1e41f4ba
commit
6bc2ae8e14
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ public class PipeTransportPower extends PipeTransport {
|
|||
internalPower = internalNextPower;
|
||||
internalNextPower = next;
|
||||
for (int i = 0; i < nextPowerQuery.length; i++) {
|
||||
if (powerQuery[i] == 0.0d) {
|
||||
if (powerQuery[i] == 0.0d && internalNextPower[i] > 0) {
|
||||
internalNextPower[i]-=1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue