Closes Anuken/Mindustry-Suggestions/issues/4608

This commit is contained in:
Anuken
2023-08-11 12:16:40 -04:00
parent 398a6f6a42
commit fb4787ba52
8 changed files with 34 additions and 7 deletions

View File

@@ -1374,6 +1374,7 @@ public class Block extends UnlockableContent implements Senseable{
case itemCapacity -> itemCapacity;
case liquidCapacity -> liquidCapacity;
case powerCapacity -> consPower != null && consPower.buffered ? consPower.capacity : 0f;
case id -> getLogicId();
default -> Double.NaN;
};
}