1
0
mirror of https://github.com/chylex/Resource-Pack-Organizer.git synced 2025-04-10 18:15:45 +02:00

Fix the mod not running on Java 6 and 7

This commit is contained in:
chylex 2016-06-17 18:25:38 +02:00
parent 37d5d10000
commit bc376480e1

View File

@ -1,4 +1,5 @@
package chylex.respack.packs;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Locale;
@ -84,7 +85,9 @@ public class ResourcePackListProcessor{
}
}
if (sorter != null)targetList.sort(sorter);
if (sorter != null){
Collections.sort(targetList,sorter);
}
}
private boolean checkFilter(String entryText){