Allow multipass RenderItem rendering for terrain icons too. Should fix sengir's saplings.
This commit is contained in:
parent
8d6f893083
commit
b2d309b17e
1 changed files with 9 additions and 0 deletions
|
@ -63,6 +63,15 @@
|
|||
GL11.glRotatef(f3, 0.0F, 1.0F, 0.0F);
|
||||
|
||||
if (renderInFrame)
|
||||
@@ -127,7 +118,7 @@
|
||||
{
|
||||
float f8;
|
||||
|
||||
- if (itemstack.getItemSpriteNumber() == 1 && itemstack.getItem().requiresMultipleRenderPasses())
|
||||
+ if (itemstack.getItem().requiresMultipleRenderPasses())
|
||||
{
|
||||
if (renderInFrame)
|
||||
{
|
||||
@@ -139,10 +130,10 @@
|
||||
GL11.glScalef(0.5F, 0.5F, 0.5F);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue