Releases: boxbeam/RedLib
Make JSONParser support exponentiated decimals
Fix deserialization of damaged items
Seems like at some point, spigot's deserializer stopped being able to automatically convert long -> int. This broke deserialization of damaged items, since the JSON parser would interpret all integer values as a long. Now it will presume them all to be int unless they have the L
suffix, and serialization will use the L
suffix for longs. This makes the JSON output is technically no longer JSON-compliant.
Add @ConfigConstructor
Adds an annotation @ConfigConstructor
which can annotate a constructor that takes all of the fields of a class in the same order. This is mostly intended for Kotlin developers, since Java has records but Kotlin's data classes remained difficult to use.
Make config annotations inherited
Now most config annotations will be inherited. Things like post-init behavior should carry over even if the annotation is not respecified.
Add /struct import
- Allows you to import a structure from a file
- Also fixed a bug with getting relative blocks in mirrored structures
Fix wall rotations
- Also make /struct build default to false for mirrored
Fix ClassCastException in EventListener
Turns out Bukkit has a really weird way of dispatching events
Fix for EventListener
Fix EventListener not being able to listen to EntitySpawnEvent
Fix bug with JSON parser
Bug caused leading zeroes in decimals to be ignored
Remove debug output
6.5.4.1 Remove debug output