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) {
188188 @ Override
189189 protected MultiblockUIFactory createUIFactory () {
190190 MultiblockFuelRecipeLogic recipeLogic = (MultiblockFuelRecipeLogic ) recipeMapWorkable ;
191- boolean noRotor = getRotorHolder () == null ;
192191 IntSyncValue efficiency = new IntSyncValue (
193- () -> noRotor ? 0 : getRotorHolder ().getRotorEfficiency (), null );
192+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getRotorEfficiency (), null );
194193 IntSyncValue total = new IntSyncValue (
195- () -> noRotor ? 0 : getRotorHolder ().getTotalEfficiency (), null );
194+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getTotalEfficiency (), null );
196195 IntSyncValue durability = new IntSyncValue (
197- () -> noRotor ? 0 : getRotorHolder ().getRotorDurabilityPercent (), null );
196+ () -> getRotorHolder () == null ? 0 : getRotorHolder ().getRotorDurabilityPercent (), null );
198197 BooleanSyncValue rotorFree = new BooleanSyncValue (
199198 this ::isRotorFaceFree , null );
200199 StringSyncValue fuelAmount = new StringSyncValue (recipeLogic ::getRecipeFluidInputInfo , null );
You can’t perform that action at this time.
0 commit comments