summaryrefslogtreecommitdiff
path: root/ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
commit2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch)
treee8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java
parentffe23313fb7421b0a1849b420baf708999023f7b (diff)
License, readme and stuff
Diffstat (limited to 'ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java')
-rw-r--r--ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java b/ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java
index 78f1b0c..28c9edc 100644
--- a/ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java
+++ b/ihl/processing/chemistry/GaedesMercuryRotaryPumpGui.java
@@ -2,7 +2,6 @@ package ihl.processing.chemistry;
import org.lwjgl.opengl.GL11;
-import ihl.utils.IHLRenderUtils;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.util.ResourceLocation;
@@ -19,9 +18,6 @@ public class GaedesMercuryRotaryPumpGui extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
- int xOffset = (this.width - xSize) / 2;
- int yOffset = (this.height - ySize) / 2;
-
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
this.mc.renderEngine.bindTexture(tex);
int i1;
@@ -39,11 +35,6 @@ public class GaedesMercuryRotaryPumpGui extends GuiContainer {
i1 = Math.min(this.container.tileEntity.gaugeProgressScaled(27),27);
this.drawTexturedModalRect(17, 30, getFrameX(i1), getFrameY(i1),24,24);
}
- if(!this.container.tileEntity.engine.correctContent())
- {
- this.mc.renderEngine.bindTexture(tex);
- IHLRenderUtils.instance.drawMissingEngineTooltip(this, par1, par2, 79, 37, xOffset, yOffset);
- }
}
@Override