more fixes

This commit is contained in:
Progwml6 committed 2014-01-09 04:08:38 -05:00
1 parent eba66e0182
commit fb04e8eb08
55 files changed
+1446 -1442

No files matched your search

@@ -1,5 +1,6 @@
package tconstruct.client;
import mantle.blocks.BlockUtils;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemRenderer;
@@ -48,9 +49,9 @@ public class CustomBowRenderer implements IItemRenderer
GL11.glPushMatrix();
Block block = null;
if (stack.getItem() instanceof ItemBlock && stack.itemID < Block.blocksList.length)
if (stack.getItem() instanceof ItemBlock)
{
block = Block.blocksList[stack.itemID];
block = BlockUtils.getBlockFromItem(stack.getItem());
}
IIcon icon = null; //living.getItemIcon(stack, renderPass);