mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-30 06:33:27 +01:00
Update JeffChestSortOrganizer.java
Fixes exception in 1.14+ because inventories can no longer be larger than 54 slots
This commit is contained in:
parent
e60a08cb73
commit
9ad840e605
@ -249,7 +249,7 @@ public class JeffChestSortOrganizer {
|
||||
|
||||
// put everything back in a temporary inventory to combine ItemStacks even when using strict slot sorting
|
||||
// Thanks to SnackMix for this idea!
|
||||
Inventory tempInventory = Bukkit.createInventory(null, 63);
|
||||
Inventory tempInventory = Bukkit.createInventory(null, 54);
|
||||
|
||||
for(ItemStack item : nonNullItems) {
|
||||
if(plugin.debug) System.out.println(getSortableString(item));
|
||||
|
Loading…
Reference in New Issue
Block a user