Fixed crash when closing the worldmap sometimes

This commit is contained in:
Pazaz 2022-05-05 12:11:40 -04:00
parent 8dc27ef51e
commit 77bfb744bc
23 changed files with 111 additions and 108 deletions

View file

@ -566,7 +566,7 @@ public final class GlRenderer {
}
@OriginalMember(owner = "client!tf", name = "p", descriptor = "()V")
public static void method4173() {
public static void restoreLighting() {
if (Preferences.highDetailLighting) {
setLightingEnabled(true);
setNormalArrayEnabled(true);