Update Config.java

This commit is contained in:
FongMi 2022-11-28 16:58:50 +08:00
parent ed63f2babc
commit 997a6980b8
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,7 @@ public class Config {
private int version;
public static List<Config> arrayFrom(String str) {
Type listType = new TypeToken<ArrayList<Config>>() {
}.getType();
Type listType = new TypeToken<ArrayList<Config>>() {}.getType();
return new Gson().fromJson(str, listType);
}