fix: aura animation with doDaylightCycle false

This commit is contained in:
Timo Ley 2023-01-13 12:17:10 +01:00
parent bc0b3634b8
commit 89b713de99
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class RenderEventHandler {
Minecraft mc = Minecraft.getMinecraft();
if (Minecraft.getMinecraft().renderViewEntity instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer)Minecraft.getMinecraft().renderViewEntity;
long time = mc.theWorld.getWorldTime();
long time = mc.theWorld.getTotalWorldTime();
if (Utils.hasGoggles(player)) {
GL11.glPushMatrix();
GL11.glDepthMask((boolean)false);