Parse singular consumes (#8466)
* Parse singular `Consume`s * Proper coolant parsing * Temporary manual update of ClassMap Does not include all consume types. I don't know what gradle command to run to update `ClassMap`. I've tried `tools:updateScripts` but that just cleared everything.
This commit is contained in:
@@ -51,6 +51,9 @@ public class BaseTurret extends Block{
|
||||
coolant.update = false;
|
||||
coolant.booster = true;
|
||||
coolant.optional = true;
|
||||
|
||||
//json parsing does not add to consumes
|
||||
if(!hasConsumer(coolant)) consume(coolant);
|
||||
}
|
||||
|
||||
placeOverlapRange = Math.max(placeOverlapRange, range + placeOverlapMargin);
|
||||
|
||||
Reference in New Issue
Block a user