mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 00:37:57 +00:00
Fixed the Halos not rendering multipassed items properly. Closes #1579
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user