Clean Up More Gui Classes

This commit is contained in:
Nedelosk committed 2017-08-01 14:18:10 +02:00
1 parent ab1a2eeb89
commit 34fda5ddd1
49 files changed
+228 -221

No files matched your search

@@ -45,7 +45,7 @@ public class ControlSlotFluid extends Control implements ITooltip {
@SideOnly(Side.CLIENT)
public void onRenderBackground(int guiWidth, int guiHeight) {
final int size = this.getSize().xPos();
CraftGUI.RENDER.texture(CraftGUITexture.Slot, this.getArea());
CraftGUI.RENDER.texture(CraftGUITexture.SLOT, this.getArea());
if (this.getTopParent().getMousedOverWidget() == this) {
RenderUtil.drawGradientRect(new Area(new Point(1, 1), this.getArea().size().sub(new Point(2, 2))), -2130706433, -2130706433);
}