Skip to content

Commit 91f16ea

Browse files
committed
fix dynamic hand light with optifine shaders + neodymium
1 parent 9735280 commit 91f16ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/falsepattern/falsetweaks/modules/dynlights/base/DynamicLight.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public DynamicLight(Entity entity) {
3434
}
3535

3636
public void update(RenderGlobal renderGlobal) {
37-
val isHandLight = entity == Minecraft.getMinecraft().renderViewEntity && Compat.neodymiumActive();
37+
val isHandLight = entity == Minecraft.getMinecraft().renderViewEntity && Compat.neodymiumActive() && !Compat.isShaders();
3838
if (!isHandLight && DynamicLightsDrivers.isDynamicLightsFast()) {
3939
long timeNowMs = System.currentTimeMillis();
4040
if (timeNowMs < this.timeCheckMs + 500L) {

0 commit comments

Comments
 (0)