SmartInvs 1.2.1 - Fix it all
Changelog
- Fixed a bug which caused the ClickableItem consumer calling three times when double clicking
- Fixed a bug where the SlotIterator replaced slots it shouldn't replace
- (Potential breaking change) The SlotIterator now isn't started by default, you must call one of
next()
orprevious()
before using it, so it goes at the starting position
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 theinit()
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.