Some 4096 I missed in custom renderers.
This commit is contained in:
parent
c74c5ba2d2
commit
acf70e1047
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ public class ForgeHooksClient
|
||||||
}
|
}
|
||||||
boolean is3D = customRenderer.shouldUseRenderHelper(ENTITY, item, BLOCK_3D);
|
boolean is3D = customRenderer.shouldUseRenderHelper(ENTITY, item, BLOCK_3D);
|
||||||
|
|
||||||
if (item.itemID < 256 && (is3D || RenderBlocks.renderItemIn3d(Block.blocksList[item.itemID].getRenderType())))
|
if (item.getItem() instanceof ItemBlock && (is3D || RenderBlocks.renderItemIn3d(Block.blocksList[item.itemID].getRenderType())))
|
||||||
{
|
{
|
||||||
engine.bindTexture(engine.getTexture(item.getItem().getTextureFile()));
|
engine.bindTexture(engine.getTexture(item.getItem().getTextureFile()));
|
||||||
int renderType = Block.blocksList[item.itemID].getRenderType();
|
int renderType = Block.blocksList[item.itemID].getRenderType();
|
||||||
|
|
Loading…
Reference in a new issue