mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Remove dead code (#34)
* delete unused class * delete reflectionUtils * remove debugging util class * remove listUtils * unused imports and labels * fix inlining creating an unnecessary array
This commit is contained in:
1 parent
2c6d666b89
commit
227e581bb9
53 files changed
+101
-456
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package mekanism.client.gui;
|
||||
|
||||
import java.util.Arrays;
|
||||
import mekanism.api.gas.GasStack;
|
||||
import mekanism.client.gui.element.GuiEnergyInfo;
|
||||
import mekanism.client.gui.element.GuiPowerBar;
|
||||
@@ -18,7 +19,6 @@ import mekanism.client.render.MekanismRenderer;
|
||||
import mekanism.common.inventory.container.ContainerAdvancedElectricMachine;
|
||||
import mekanism.common.tile.prefab.TileEntityAdvancedElectricMachine;
|
||||
import mekanism.common.util.LangUtils;
|
||||
import mekanism.common.util.ListUtils;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
@@ -43,7 +43,7 @@ public class GuiAdvancedElectricMachine extends GuiMekanism {
|
||||
guiElements.add(new GuiEnergyInfo(() ->
|
||||
{
|
||||
String multiplier = MekanismUtils.getEnergyDisplay(tileEntity.energyPerTick);
|
||||
return ListUtils.asList(LangUtils.localize("gui.using") + ": " + multiplier + "/t",
|
||||
return Arrays.asList(LangUtils.localize("gui.using") + ": " + multiplier + "/t",
|
||||
LangUtils.localize("gui.needed") + ": " + MekanismUtils
|
||||
.getEnergyDisplay(tileEntity.getMaxEnergy() - tileEntity.getEnergy()));
|
||||
}, this, tileEntity.guiLocation));
|
||||
|
||||
Reference in new issue
Block a user