diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-08-27 17:00:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 17:00:49 +0200 |
commit | b7169237c543bf549a4b03dcc9a23b516da635eb (patch) | |
tree | 7db707c196be189e5158dfb49626ed8372846673 /src/main/java | |
parent | 4caaa107d645b1cbee3d8731905dcff2156c206e (diff) | |
download | OneConfig-b7169237c543bf549a4b03dcc9a23b516da635eb.tar.gz OneConfig-b7169237c543bf549a4b03dcc9a23b516da635eb.tar.bz2 OneConfig-b7169237c543bf549a4b03dcc9a23b516da635eb.zip |
Revert "Exclude final from config (#120)" (#122)
This reverts commit 4caaa107d645b1cbee3d8731905dcff2156c206e.
Diffstat (limited to 'src/main/java')
-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(); } |