aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-08-27 17:00:49 +0200
committerGitHub <noreply@github.com>2022-08-27 17:00:49 +0200
commitb7169237c543bf549a4b03dcc9a23b516da635eb (patch)
tree7db707c196be189e5158dfb49626ed8372846673 /src/main/java
parent4caaa107d645b1cbee3d8731905dcff2156c206e (diff)
downloadOneConfig-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.java2
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();
}