[2.0]Such code cleanup, much delitions

This commit is contained in:
Modbder committed 2015-09-14 14:20:59 +03:00
1 parent 6169929e24
commit 76e22e5318
1 file changed
+3 -1
+3 -1
View File
@@ -17,7 +17,7 @@ public class GuiCommon extends GuiContainer{
public List<GuiElement> elementList = new ArrayList<GuiElement>();
public TileEntity genericTile;
public ResourceLocation guiGenLocation = new ResourceLocation("textures/gui/container/dispenser.png");
public ResourceLocation slotLocation = new ResourceLocation("textures/gui/container/dispenser.png");;
public ResourceLocation slotLocation = new ResourceLocation("textures/gui/container/dispenser.png");
public GuiCommon(Container c) {
super(c);
@@ -50,10 +50,12 @@ public class GuiCommon extends GuiContainer{
element.draw(k+element.getX(),l+element.getY());
GL11.glColor3f(1, 1, 1);
}
GL11.glColor3f(1, 1, 1);
}
public void renderSlot(Slot slt)
{
GL11.glColor3f(1, 1, 1);
int k = (this.width - this.xSize) / 2;
int l = (this.height - this.ySize) / 2;
this.mc.renderEngine.bindTexture(slotLocation);