-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Migrate to Configurate #4072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Configurate #4072
Conversation
zml2008
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few minor things
Essentials/src/main/java/com/earth2me/essentials/commands/Commandcreatekit.java
Outdated
Show resolved
Hide resolved
Essentials/src/main/java/com/earth2me/essentials/commands/Commandcreatekit.java
Outdated
Show resolved
Hide resolved
Essentials/src/main/java/com/earth2me/essentials/config/EssentialsConfiguration.java
Outdated
Show resolved
Hide resolved
|
|
||
| try { | ||
| final UUID worldId = UUID.fromString(worldValue); | ||
| world = Bukkit.getWorld(worldId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is bad --- what if a location is stored for an unloaded world?
probably a pain to fix and I've seen this in iirc Jails as well, so can be handled in a later pass
# Conflicts: # build.gradle
mdcfe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
green tick go brrrrr
|
Thanks to all the reviewers for helping us get this merged and to @zml2008 for being epic |
Fix regression from #4072, tested in #essx-support on MOSS
Co-authored-by: MD <[email protected]> Co-authored-by: Riley Park <[email protected]> Co-authored-by: zml <[email protected]> Migrates all uses of SnakeYAML and Bukkit's Configuration API to Sponge's Configurate. Configurate enables us to the do the following stuff: * Serialize YAML off the main thread * (in the future) Automatically update our config * (in the future) Manipulate comments in configs * Be epic This commit also *finally* strips out the 3.x storage/object mapping system in favour of Configurate's object mapper.
Fix regression from EssentialsX#4072, tested in #essx-support on MOSS
Migrates all uses of SnakeYAML and Bukkit's Configuration API to Sponge's Configurate.
Configurate enables us to the do the following stuff;