 +                    0, 1, 2, 2, 3, 0
 +            };
 +
-+            NovaDraw.draw(NovaRenderer.WHITE_TEXTURE_GUI_LOCATION, indices, shade);
++            NovaDraw.draw(WHITE_TEXTURE_GUI_LOCATION, indices, shade);
 +
 +
 +            shade = new NovaDraw.Vertex[] {

-    {
+    @Override
+    public void tick() {
@@ -317,0 +250,31 @@ public class TextureMap extends AbstractTexture implements ITickableTextureObjec
+
+    public int getWidth() {
+        return width;

+    public void actionPerformed(GuiButton button) {
+        if (button.enabled) {
+            if (button.id == this.scrollUpButtonID) {
@@ -212,3 +204 @@ public abstract class GuiSlot
-            }
-            else if (button.id == this.scrollDownButtonID)
-            {
+            } else if (button.id == this.scrollDownButtonID) {
@@ -222,4 +212,2 @@ public abstract class GuiSlot
-    public void drawScreen(int mouseXIn, int mouseYIn, float partialTicks)
-    {
-        if (this.visible)
-        {
+    public void drawScreen(int mouseXIn, int mouseYIn, float partialTicks) {
+        if (this.visible) {
@@ -228 +216,3 @@ public abstract class GuiSlot
-            this.drawBackground();
+
+            NovaDraw.incrementZ();
+            drawBackground();
@@ -231,20 +221,21 @@ public abstract class GuiSlot
-            this.bindAmountScrolled();
-            GlStateManager.disableLighting();
-            GlStateManager.disableFog();
