From a0a0b5942e58ef315a12c680c4bcd8b2a47bd101 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 28 Oct 2023 09:29:28 -0400 Subject: [PATCH] Fixed #9208 --- core/src/mindustry/core/Renderer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/core/Renderer.java b/core/src/mindustry/core/Renderer.java index 8b3614436d..f78a9da907 100644 --- a/core/src/mindustry/core/Renderer.java +++ b/core/src/mindustry/core/Renderer.java @@ -185,7 +185,9 @@ public class Renderer implements ApplicationListener{ if(landTime > 0){ if(!state.isPaused()){ CoreBuild build = landCore == null ? player.bestCore() : landCore; - build.updateLandParticles(); + if(build != null){ + build.updateLandParticles(); + } } if(!state.isPaused()){