Skip to content

Commit

Permalink
fix SolidOxideFuelCellMachine too early
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed Aug 9, 2024
1 parent e8cd32d commit 0238992
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ public class GeneratorMachines {
SolidOxideFuelCellMachine::new,
(tier, builder) -> builder
.rotationState(RotationState.NON_Y_AXIS)
.langValue("Solid Oxide Fuel Cell MK %s"
.formatted(toRomanNumeral(SolidOxideFuelCellMachine.getTier(tier))))
.langValue(
"Solid Oxide Fuel Cell MK %s".formatted(toRomanNumeral(tier == HV ? 1 : 2)))
.recipeType(GAS_TURBINE_FUELS)
.tooltips()
.appearanceBlock(() -> SolidOxideFuelCellMachine.getCasingState(tier))
Expand All @@ -198,7 +198,9 @@ public class GeneratorMachines {
.where('D', abilities(OUTPUT_ENERGY))
.build())
.workableCasingRenderer(
SolidOxideFuelCellMachine.getTexture(tier),
tier == HV
? GTCEu.id("block/casings/solid/machine_casing_clean_stainless_steel")
: GTCEu.id("block/casings/solid/machine_casing_robust_tungstensteel"),
Epimorphism.id("block/multiblock/generator/solid_oxide_fuel_cell"),
false)
.register(),
Expand Down

0 comments on commit 0238992

Please sign in to comment.