mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-28 15:55:58 +00:00
Properly end the dynamic lighting profiler section (#1751)
This commit is contained in:
1 parent
356ba376fe
commit
48eba2fd96
1 file changed
+2
-1
+2
-1
@@ -19,8 +19,9 @@ public class MixinEntityRenderer {
|
||||
private void updateDynamicLights(float p_78471_1_, long p_78471_2_, CallbackInfo ci) {
|
||||
IDynamicLightWorldRenderer renderer = DynamicLights.getActiveRenderer();
|
||||
if (renderer != null && renderer.isActive()) {
|
||||
mc.mcProfiler.endStartSection("angelica_dynamic_lighting");
|
||||
mc.mcProfiler.startSection("angelica_dynamic_lighting");
|
||||
DynamicLights.get().updateAll(renderer);
|
||||
mc.mcProfiler.endSection();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user