Skip to content

SmartInvs 1.2.2 - Just Fixes

Compare
Choose a tag to compare
@MinusKube MinusKube released this 26 Jul 20:49
· 31 commits to master since this release

Changelog

  • Remove contents when inventory closed to let the GC clear the inv
  • (Potential breaking change) Make SlotIterator allowOverride default to true
  • Fix Pagination#last() sending to the wrong page
  • Fix SlotIterator#started() sometimes being wrong

Usage

To use the SmartInvs API, either:

  • Put it in the plugins folder of your server, add it to your dependencies in your plugin.yml (e.g. depend: [SmartInvs]) and add it to the dependencies in your IDE.
  • Put it inside your plugin jar, initialize an InventoryManager in your plugin (don't forget to call the init() method), and add a .manager(invManager) to your SmartInventory Builders.

Issues

If you have a problem with the API, or you want to request a feature, make an issue here.