Minor bugfixes & compatibility fixes

This commit is contained in:
Anuken
2021-09-07 17:57:03 -04:00
parent 5641b4901c
commit 5e13f71fde
7 changed files with 28 additions and 9 deletions

View File

@@ -8,11 +8,11 @@ import mindustry.world.meta.*;
/** Consumer class for blocks which consume power while being connected to a power graph. */
public class ConsumePower extends Consume{
/** The maximum amount of power which can be processed per tick. This might influence efficiency or load a buffer. */
public final float usage;
public float usage;
/** The maximum power capacity in power units. */
public final float capacity;
public float capacity;
/** True if the module can store power. */
public final boolean buffered;
public boolean buffered;
public ConsumePower(float usage, float capacity, boolean buffered){
this.usage = usage;