Merge pull request #449 from iChun/patch-5

[Bugfix] One should not assume an item would use the item spritesheet.
This commit is contained in:
LexManos 2013-03-13 11:53:50 -07:00
commit 95a7ec3f08
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class ForgeHooksClient
}
else
{
engine.func_98187_b("/gui/items.png");
engine.func_98187_b(item.func_94608_d() == 0 ? "/terrain.png" : "/gui/items.png");
GL11.glScalef(0.5F, 0.5F, 0.5F);
customRenderer.renderItem(ENTITY, item, renderBlocks, entity);
}
@ -116,7 +116,7 @@ public class ForgeHooksClient
return false;
}
engine.func_98187_b("/gui/items.png");
engine.func_98187_b(item.func_94608_d() == 0 ? "/terrain.png" : "/gui/items.png");
if (customRenderer.shouldUseRenderHelper(INVENTORY, item, INVENTORY_BLOCK))
{
GL11.glPushMatrix();