#(CLOSED )clearing and fixing spigot config.yml

1 messages · Page 1 of 1 (latest)

abstract wave
#

so the string in my config file version is set to something random, I want to delete it and replace it with the default one in the java file

fiery palm
#

just set the value to the default one

abstract wave
#

getConfig().set("version", Objects.requireNonNull(getConfig().getDefaults()).get("version"));

It didnt owrk

#

work*

#

it saves with saveDefaultConfig();

#

ill try i

#

it

#

didnt work

#

tell me if i'm messing up

#

it makes the file but the file has no information in it

#

oh wait I prob need to save default config before

#

😮 it works!

#

wait let me try one more thing

#

It does 😄 thank you so much!