Skip to content
Permalink
Browse files

Change address texture back to 32x32 to avoid breaking texture packs

  • Loading branch information
mezz committed Nov 7, 2016
1 parent 8ad8597 commit 67693961acae22527ee692ff2ccb5e182f956c60
@@ -33,7 +33,7 @@

/**
* Sprite registered to the Gui Texture Map at {@link ITextureManager}.
* Must be 26 pixels wide and 15 pixels tall. The texture itself must be 26x26 square to be accepted by the texture map.
* Must be 26 pixels wide and 15 pixels tall. The texture itself must be 32x32 square.
*/
@SideOnly(Side.CLIENT)
TextureAtlasSprite getSprite();
@@ -38,7 +38,7 @@ public void draw(int startX, int startY) {
if (carrier != null) {
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0F);
Proxies.render.bindTexture(TextureManager.getInstance().getGuiTextureMap());
manager.gui.drawTexturedModalRect(startX + xPos, startY + yPos, carrier.getSprite(), 26, 26);
manager.gui.drawTexturedModalRect(startX + xPos, startY + yPos, carrier.getSprite(), 32, 32);
}
}

Binary file not shown.
Binary file not shown.

0 comments on commit 6769396

Please sign in to comment.
You can’t perform that action at this time.