Possible content deserialization crash fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user