Skip to content

Bug Fixes, Getters and Small Additions

Latest
Compare
Choose a tag to compare
@Thatsmusic99 Thatsmusic99 released this 18 Apr 14:36
· 6 commits to master since this release

[ + ] Added a new moveTo method which allows you move old paths across files, e.g. moving an option from config.yml to new-config.yml.

[ + ] Grouped all necessary saving procedures into a new method called initiateSave.

[ + ] Added several getter methods, such as getInteger and getString. All allow default values to be passed through, and if a value provided is written as a string, methods like getInteger and getDouble still pick out the required value (such as '300.0' will return 300.0, whilst when using normal Bukkit methods, this returns 0.0).

[ + ] Added an isNew method, which returns whether the file is new or not.

[ + ] Fixed comments not persisting in examples.

[ + ] Fixed sections not being implemented at the end when not at the start of a pending comment.

[ + ] Pending comments (those added using addComment) are no longer added directly below an option with a parent, but added above the parent now.