Possible content deserialization crash fix

This commit is contained in:
Anuken
2025-08-24 16:48:33 -04:00
parent 2f16449a6f
commit 5217e08823

View File

@@ -212,6 +212,7 @@ public class ContentLoader{
}
public <T extends MappableContent> T getByName(ContentType type, String name){
if(name == null) return null;
var map = contentNameMap[type.ordinal()];
if(map == null) return null;