Fixed the Halos not rendering multipassed items properly. Closes #1579

This commit is contained in:
Vasco Lavos committed 2015-11-24 21:11:33 +00:00
1 parent 09c7ff79cf
commit 18f558bbbb
1 file changed
+1 -1
@@ -455,11 +455,11 @@ public class ItemCraftingHalo extends ItemMod implements ICraftAchievement {
} else {
GL11.glScalef(0.75F, 0.75F, 0.75F);
GL11.glTranslatef(0F, 0F, 0.5F);
GL11.glRotatef(90F, 0F, 1F, 0F);
int renderPass = 0;
do {
IIcon icon = slotStack.getItem().getIcon(slotStack, renderPass);
if(icon != null) {
GL11.glRotatef(90F, 0F, 1F, 0F);
Color color = new Color(slotStack.getItem().getColorFromItemStack(slotStack, renderPass));
GL11.glColor3ub((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue());
float f = icon.getMinU();