1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-20 12:09:10 +02: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);
}