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;