1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-25 01:39:23 +01:00

made AddJsonConverter not require the generic type

This commit is contained in:
Ellpeck 2020-02-27 19:54:44 +01:00
parent c7ac35e74c
commit b38999a50c

View file

@ -21,7 +21,7 @@ namespace MLEM.Data {
return serializer;
}
public static void AddJsonConverter<T>(this ContentManager content, JsonConverter<T> converter) {
public static void AddJsonConverter(this ContentManager content, JsonConverter converter) {
var serializer = GetJsonSerializer(content);
serializer.Converters.Add(converter);
}