fixed api

This commit is contained in:
mfnalex 2018-11-08 22:53:03 +01:00
parent fc52c42b92
commit 6e3c21760c

View File

@ -205,12 +205,12 @@ public class JeffChestSortOrganizer {
for(int i = 0; i<startSlot;i++) { for(int i = 0; i<startSlot;i++) {
items[i] = null; items[i] = null;
} }
for(int i=endSlot;i<inv.getSize();i++) { for(int i=endSlot+1;i<inv.getSize();i++) {
items[i] = null; items[i] = null;
} }
//inv.clear(); //inv.clear();
for(int i = startSlot; i<endSlot;i++) { for(int i = startSlot; i<=endSlot;i++) {
inv.clear(i); inv.clear(i);
} }
String[] itemList = new String[inv.getSize()]; String[] itemList = new String[inv.getSize()];