Compare commits

...

2 commits

Author SHA1 Message Date
Timo Ley 41435e71c5 chore: bump version 2024-03-26 14:12:15 +01:00
Timo Ley 8502c527e3 fix: prevent infinite loop in some conditions 2024-03-26 14:11:50 +01:00
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
aeversion=rv3 aeversion=rv3
aechannel=beta aechannel=beta
aebuild=23 aebuild=24
aegroup=appeng aegroup=appeng
aebasename=appliedenergistics2 aebasename=appliedenergistics2

View file

@ -267,7 +267,11 @@ public class TileLegacyController extends AENetworkPowerTile implements ILocatab
public void removeCPUs() { public void removeCPUs() {
boolean changed = false; boolean changed = false;
while (this.inactiveCPUs > MIN_INACTIVE) { while (this.inactiveCPUs > MIN_INACTIVE) {
changed = changed || removeLastIfNotBusy(); if (removeLastIfNotBusy()) {
changed = true;
} else {
break;
}
} }
if (changed) { if (changed) {
try { try {