Added setting to disable lighting

This commit is contained in:
Anuken
2023-09-02 11:49:34 -04:00
parent bff4097c88
commit 2e1b4934ad
4 changed files with 6 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ public class LightRenderer{
}
public boolean enabled(){
return state.rules.lighting && state.rules.ambientLight.a > 0.0001f;
return state.rules.lighting && state.rules.ambientLight.a > 0.0001f && renderer.drawLight;
}
public void draw(){