mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-30 06:33:27 +01:00
Update HOW_TO_USE_API.md
This commit is contained in:
parent
1c7d7c0c8a
commit
cb3cfd7358
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user