Update HOW_TO_USE_API.md

This commit is contained in:
JEFF 2019-01-12 15:51:21 +01:00 committed by GitHub
parent 1c7d7c0c8a
commit cb3cfd7358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ Now, you can sort any Inventory! Just like this:
chestSort.sortInventory(Inventory inventory);
```
To sort only specific slots, you can pass slot numbers where to start and end sorting.
To sort only specific slots, you can pass slot numbers where to start and end sorting. ChestSort will not modify the inventory outside the given slot range.
```
chestSort.sortInventory(Inventory inventory, int startSlot, int endSlot);