Fix Painted Item rendering with some items

This commit is contained in:
CovertJaguar 2013-07-24 00:30:13 -07:00
parent 05c9cb18f0
commit 3f21c33427

View file

@ -438,6 +438,7 @@ public class RenderPipe extends TileEntitySpecialRenderer {
dummyEntityItem.setEntityItemStack(itemstack); dummyEntityItem.setEntityItemStack(itemstack);
customRenderItem.doRenderItem(dummyEntityItem, 0, 0, 0, 0, 0); customRenderItem.doRenderItem(dummyEntityItem, 0, 0, 0, 0, 0);
if (color != null) { if (color != null) {
func_110628_a(TextureMap.field_110575_b);
BlockInterface block = new BlockInterface(); BlockInterface block = new BlockInterface();
block.texture = PipeIconProvider.TYPE.ItemBox.getIcon(); block.texture = PipeIconProvider.TYPE.ItemBox.getIcon();