Fixed compilation

This commit is contained in:
Anuken
2019-12-25 12:22:12 -05:00
parent 03342dc2f5
commit ec4c2c7adb
3 changed files with 9 additions and 8 deletions

View File

@@ -53,11 +53,11 @@ public class JsonIO{
}
public static <T> T read(Class<T> type, String string){
return json.fromJson(type, string);
return json.fromJson(type, string.replace("io.anuke.", ""));
}
public static <T> T read(Class<T> type, T base, String string){
return jsonBase.fromBaseJson(type, base, string);
return jsonBase.fromBaseJson(type, base, string.replace("io.anuke.", ""));
}
public static String print(String in){