Fix RenderItem to work with items that use the terrain texture map that aren't in the block ID range. Close #443
This commit is contained in:
parent
31b908473d
commit
48e95f3d44
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@
|
|||
+ GL11.glTranslatef(0f, 0f, f12 + f11);
|
||||
+ }
|
||||
+
|
||||
+ if (itemstack.func_94608_d() == 0 && itemstack.itemID < Block.blocksList.length && Block.blocksList[itemstack.itemID] != null)
|
||||
+ if (itemstack.func_94608_d() == 0)
|
||||
{
|
||||
this.loadTexture("/terrain.png");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue