Releases: boxbeam/RedLib
Releases · boxbeam/RedLib
Added null safety to ConfigManager type converters
Would previously throw a NullPointerException if the given string or object was null when trying to convert
Added clone(), set(), and remove() to WeightedRandom
These methods allow you to have more fine-tune control over the WeightedRandom
Adding something to a ConfigMap will now populate the _section field if it exists
2.4.1 Merge remote-tracking branch 'origin/master'
Improvements to ConfigManager
You can now schedule postInit tasks using ConfigManager#postInit, and an object being used for a ConfigMap can know its ConfigurationSection by having a field like this:
@ConfigHook("_section")
private ConfigurationSection section;
Fixed NPE with ConfigManager
NPE happened when calling save with a ConfigMap in one of the fields before performing another operation
Made ConfigManager reload config from file when load() is called
2.3.5 Made ConfigManager reload the config from file when load() is called
Bugfix with ConfigManager
ConfigMap wasn't saving properly when using saveDefaults
Fixed bug with ConfigManager not saving properly
2.3.3 Fixed bug with ConfigManager not saving properly
Minor bugfix
2.3.2 Fixed error with Structure#getBlock in different world, now returns null
Optimizations to MultiRegion, introducted BlockSetRegion
2.3.1 Optimizations to MultiRegion, created BlockSetRegion