Update JeffChestSortOrganizer.java

Fixes exception in 1.14+ because inventories can no longer be larger than 54 slots
This commit is contained in:
JEFF 2019-04-25 09:22:55 +02:00 committed by GitHub
parent e60a08cb73
commit 9ad840e605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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));