This commit is contained in:
Anuken
2024-02-11 09:00:51 -05:00
parent 5ed1c5d29b
commit e99b9c2ad1
3 changed files with 10 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ public class Schematic implements Publishable, Comparable<Schematic>{
}
public float powerProduction(){
return tiles.sumf(s -> s.block instanceof PowerGenerator p ? p.powerProduction : 0f);
return tiles.sumf(s -> s.block instanceof PowerGenerator p ? p.getDisplayedPowerProduction() : 0f);
}
public float powerConsumption(){