Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/worldRendererNullCheck' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Caedis committed Mar 14, 2024
2 parents 700903b + 2312e70 commit d2f57c2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public abstract class MixinRenderGlobal_FixWordLeak {

if (worldRenderers != null) {
for (WorldRenderer worldRenderer : worldRenderers) {
worldRenderer.stopRendering();
if (worldRenderer != null) {
worldRenderer.stopRendering();
}
}
}

Expand Down

0 comments on commit d2f57c2

Please sign in to comment.