Skip to content

Releases: boxbeam/RedLib

Added null safety to ConfigManager type converters

25 Jun 14:51
Compare
Choose a tag to compare

Would previously throw a NullPointerException if the given string or object was null when trying to convert

Added clone(), set(), and remove() to WeightedRandom

21 Jun 20:36
Compare
Choose a tag to compare

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

21 Jun 18:24
Compare
Choose a tag to compare

Improvements to ConfigManager

21 Jun 17:35
9420b08
Compare
Choose a tag to compare

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

21 Jun 13:37
Compare
Choose a tag to compare

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

11 Jun 20:41
Compare
Choose a tag to compare
2.3.5

Made ConfigManager reload the config from file when load() is called

Bugfix with ConfigManager

11 Jun 19:31
Compare
Choose a tag to compare

ConfigMap wasn't saving properly when using saveDefaults

Fixed bug with ConfigManager not saving properly

04 Jun 23:45
Compare
Choose a tag to compare
2.3.3

Fixed bug with ConfigManager not saving properly

Minor bugfix

01 Jun 02:42
Compare
Choose a tag to compare
2.3.2

Fixed error with Structure#getBlock in different world, now returns null

Optimizations to MultiRegion, introducted BlockSetRegion

01 Jun 02:27
Compare
Choose a tag to compare
2.3.1

Optimizations to MultiRegion, created BlockSetRegion