We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6be954 commit 53f7ab0Copy full SHA for 53f7ab0
src/main/java/net/thenextlvl/tweaks/TweaksPlugin.java
@@ -282,9 +282,9 @@ private void initConfigs() {
282
this.config = new GsonFile<>(
283
IO.of(getDataFolder(), "config.json"),
284
new PluginConfig(), new GsonBuilder()
285
- .registerTypeHierarchyAdapter(Location.class, LocationAdapter.simple())
286
- .registerTypeHierarchyAdapter(Material.class, MaterialAdapter.instance())
287
- .registerTypeHierarchyAdapter(World.class, WorldAdapter.key())
+ .registerTypeHierarchyAdapter(Location.class, new LocationAdapter.Simple())
+ .registerTypeHierarchyAdapter(Material.class, new MaterialAdapter())
+ .registerTypeHierarchyAdapter(World.class, new WorldAdapter.Key())
288
.setPrettyPrinting()
289
.serializeNulls()
290
.create()
0 commit comments