From 1d854604a6fa61fb7d27b8069c614a25b2476328 Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 11 Feb 2022 15:41:39 -0500 Subject: [PATCH] Fixed JSON mod load errors --- core/src/mindustry/type/UnitType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index b4895d9601..b59e87c3a9 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -180,7 +180,7 @@ public class UnitType extends UnlockableContent{ public boolean hidden = false; public boolean internal = false; /** A sample of the unit that this type creates. Do not modify! */ - public Unit sample; + public @Nullable Unit sample; //for crawlers public int segments = 0;