Update HOW_TO_USE_API.md

This commit is contained in:
mfnalex 2021-02-20 17:49:44 +01:00 committed by GitHub
parent c2675512c6
commit fba9f22cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ You can also store another InventoryHolder in the Inventory if needed:
Sortable holder = new Sortable(player)
```
You can also instead use your own custom inventory holder that either `implements ISortable` or `extends Sortable`.
## Example Plugin
Here is a complete example plugin that shows to add and use the ChestSort API: [LINK](https://github.com/JEFF-Media-GbR/ChestSortAPIExample)