diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/Config.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/Config.java b/src/main/java/cc/polyfrost/oneconfig/config/Config.java index eaf4df4..fe7d7f7 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/Config.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/Config.java @@ -206,7 +206,7 @@ public class Config { protected GsonBuilder addGsonOptions(GsonBuilder builder) { return builder .registerTypeAdapter(this.getClass(), new InstanceSupplier<>(this)) - .excludeFieldsWithModifiers(Modifier.TRANSIENT, Modifier.FINAL) + .excludeFieldsWithModifiers(Modifier.TRANSIENT) .setPrettyPrinting(); } |