Use EnumAddressee instead of String to identify mail carriers

This commit is contained in:
mezz committed 2014-09-12 21:26:33 -07:00
1 parent d6c3c8093c
commit dff81eb85c
6 files changed
+20 -29

No files matched your search

@@ -48,7 +48,7 @@ public class GuiLetter extends GuiForestry<TileForestry> {
GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0F);
//mc.renderEngine.bindTexture(Defaults.TEXTURE_PATH_GUI + "/letter.png");
IPostalCarrier carrier = PostManager.postRegistry.getCarrier(container.getCarrierType().toString());
IPostalCarrier carrier = PostManager.postRegistry.getCarrier(container.getCarrierType());
if(carrier != null)
drawTexturedModelRectFromIcon(startX + xPos, startY + yPos - 5, carrier.getIcon(), 26, 26);