mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 16:37:45 +00:00
IsBlock
This commit is contained in:
1 parent
c78ea34592
commit
f95bf94d7e
1 file changed
+2
-1
@@ -59,7 +59,8 @@ public class BlockBannerRenderer extends BlockRendererInterface{
|
||||
}
|
||||
public void doRender(double par2, double par4, double par6, int meta, ItemStack iicon)
|
||||
{
|
||||
if (iicon.getItemSpriteNumber() == 0 && RenderBlocks.renderItemIn3d(Block.getBlockFromItem(iicon.getItem()).getRenderType()))
|
||||
boolean isBlock = RenderBlocks.renderItemIn3d(Block.getBlockFromItem(iicon.getItem()).getRenderType());
|
||||
if (iicon.getItemSpriteNumber() == 0 && isBlock)
|
||||
return;
|
||||
GL11.glPushMatrix();
|
||||
bindTexture(TextureMap.locationItemsTexture);
|
||||
|
||||
Reference in new issue
Block a user