diff --git a/core/src/mindustry/world/blocks/environment/StaticWall.java b/core/src/mindustry/world/blocks/environment/StaticWall.java index a95e062386..b59b25f30b 100644 --- a/core/src/mindustry/world/blocks/environment/StaticWall.java +++ b/core/src/mindustry/world/blocks/environment/StaticWall.java @@ -52,9 +52,11 @@ public class StaticWall extends Prop{ super.load(); int size = large.width / 2; split = large.split(size, size); - for(var arr : split){ - for(var reg : arr){ - reg.scale = region.scale; + if(split != null){ + for(var arr : split){ + for(var reg : arr){ + reg.scale = region.scale; + } } } }