File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/gregtech/common/metatileentities/multi/electric/generator Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -188,13 +188,12 @@ protected void addErrorText(List<ITextComponent> textList) {
188
188
@ Override
189
189
protected MultiblockUIFactory createUIFactory () {
190
190
MultiblockFuelRecipeLogic recipeLogic = (MultiblockFuelRecipeLogic ) recipeMapWorkable ;
191
- boolean noRotor = getRotorHolder () == null ;
192
191
IntSyncValue efficiency = new IntSyncValue (
193
- () -> noRotor ? 0 : getRotorHolder ().getRotorEfficiency (), null );
192
+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getRotorEfficiency (), null );
194
193
IntSyncValue total = new IntSyncValue (
195
- () -> noRotor ? 0 : getRotorHolder ().getTotalEfficiency (), null );
194
+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getTotalEfficiency (), null );
196
195
IntSyncValue durability = new IntSyncValue (
197
- () -> noRotor ? 0 : getRotorHolder ().getRotorDurabilityPercent (), null );
196
+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getRotorDurabilityPercent (), null );
198
197
BooleanSyncValue rotorFree = new BooleanSyncValue (
199
198
this ::isRotorFaceFree , null );
200
199
StringSyncValue fuelAmount = new StringSyncValue (recipeLogic ::getRecipeFluidInputInfo , null );
You can’t perform that action at this time.
0 commit comments