2.0.1
Features: 1. Bug fixes 2. Improvements 3. Additions
Bug Fixes
- MenuBuilder#nextPageItem and vice versa did not return the builder, fixed.
- If you used adventure and states in 2.0.0, rip all the decorations
- Fixed an IndexOutOfBoundsException by checking for that exception, and try to size if possible, if 6 rows then it can fail fast and sleep peacefully (sucks, I wanna sleep, I feel like I'm in college)
Improved
- State and Adventure support compatibility with each other
- Improved Slot safety using the Slot class, requires you to use Slot#of, if you need an unsafe slot use .ofUnsafe (used for iteration for example)
Added
- Lore and some other adventure stuff to help with Adventure compatibility with State.
Deprecations
- Slot#isSlot is now deprecated due to confusion (I was the only one confused :D), use Slot#isValid instead.
- PaginatedMenu#setNextPageItem and PaginatedMenu#setPreviousPageItem are now deprecated,
Use PaginatedMenu#setPageItem, or even better, use Menu.builder#nextPageItem and Menu.builder#previousPageItem - ItemEditor#setActionAsync and similar are deprecated, do NOT set the action async that way, set it through the MenuItem and use MenuItem#setAsync.
- Slot#new is now deprecated for safety reasons, use Slot#of or for unsafety (like you be working in C), use Slot#ofUnsafe
Full Changelog: 2.0.0...2.0.1