mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
made AddJsonConverter not require the generic type
This commit is contained in:
parent
c7ac35e74c
commit
b38999a50c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue