From 5217e08823c076026053a9586041c61000937b22 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 24 Aug 2025 16:48:33 -0400 Subject: [PATCH] Possible content deserialization crash fix --- core/src/mindustry/core/ContentLoader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/core/ContentLoader.java b/core/src/mindustry/core/ContentLoader.java index 1ef48b5018..b21f287e0d 100644 --- a/core/src/mindustry/core/ContentLoader.java +++ b/core/src/mindustry/core/ContentLoader.java @@ -212,6 +212,7 @@ public class ContentLoader{ } public T getByName(ContentType type, String name){ + if(name == null) return null; var map = contentNameMap[type.ordinal()]; if(map == null) return null;