Skip to content

Commit

Permalink
Fix knapsack tab rendering. Courtesy to @radfast
Browse files Browse the repository at this point in the history
  • Loading branch information
radfast authored and bonii-xx committed Sep 10, 2014
1 parent 91e0108 commit 67fe457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/client/tabs/AbstractTab.java
Expand Up @@ -27,7 +27,7 @@ public void drawButton (Minecraft mc, int mouseX, int mouseY)
{
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);

int yTexPos = this.enabled ? 0 : 32;
int yTexPos = this.enabled ? 3 : 32;
int ySize = this.enabled ? 28 : 32;
int xOffset = this.id == 2 ? 0 : 1;

Expand Down

0 comments on commit 67fe457

Please sign in to comment.