Skip to content

Commit

Permalink
Remove RenderHelper.disableStandardItemLighting() from RenderParticle…
Browse files Browse the repository at this point in the history
…Gen (#51)
  • Loading branch information
Caedis authored Sep 1, 2024
1 parent 9780cd9 commit 0b4a807
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.brandon3055.draconicevolution.client.render.block;

import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
Expand Down Expand Up @@ -34,7 +33,6 @@ public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
if (type == IItemRenderer.ItemRenderType.ENTITY) GL11.glTranslatef(-0.5F, 0.0F, -0.5F);
TileEntityRendererDispatcher.instance.renderTileEntityAt(tile, 0.0D, 0.0D, 0.0D, 0.0F);
RenderHelper.disableStandardItemLighting();
GL11.glPopAttrib();
GL11.glPopMatrix();
}
Expand Down

0 comments on commit 0b4a807

Please sign in to comment.