From b7169237c543bf549a4b03dcc9a23b516da635eb Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sat, 27 Aug 2022 17:00:49 +0200 Subject: Revert "Exclude final from config (#120)" (#122) This reverts commit 4caaa107d645b1cbee3d8731905dcff2156c206e. --- src/main/java/cc/polyfrost/oneconfig/config/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit