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

This commit is contained in:
mezz committed 2016-11-06 16:42:25 -08:00
1 parent 8ad8597ff0
commit 67693961ac
4 files changed
+2 -2

No files matched your search

@@ -33,7 +33,7 @@ public interface IPostalCarrier {
/**
* 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 class AddresseeSlot extends Widget {
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);
}
}