Permalink
Browse files

Increase the scale of hats slightly as to prevent texture collisions.

  • Loading branch information...
1 parent 2b97b40 commit 3b0b33e8d35edb103dbed8641cc03527ac1f9cf2 @iChun committed Jan 5, 2014
Showing with 2 additions and 1 deletion.
  1. +1 −0 hats/client/render/HatRendererHelper.java
  2. +1 −1 hats/common/core/HatHandler.java
@@ -43,6 +43,7 @@ public static void renderHat(HatInfoClient info, float alpha, float hatScale, fl
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
+ GL11.glScalef(1.001F, 1.001F, 1.001F);
GL11.glScalef(mobRenderScaleX, mobRenderScaleY, mobRenderScaleZ);
GL11.glRotatef(renderYawOffset, 0.0F, -1.0F, 0.0F);
@@ -768,7 +768,7 @@ public static void reloadAndOpenGui()
catch(IOException e)
{}
}
- else if(SessionState.serverHatMode == 2)
+ else if(SessionState.serverHatMode != 2)
{
Hats.proxy.openHatsGui();
}

0 comments on commit 3b0b33e

Please sign in to comment.