I realize that you won't be able to see all 512

This commit is contained in:
Jesse Boyd 2016-04-22 06:12:40 +10:00
parent d38db03600
commit fd37adaac8
1 changed files with 4 additions and 1 deletions

View File

@ -164,11 +164,14 @@ public class MainUtil {
if (file.getName().endsWith(".bd")) {
if (timediff > Integer.MAX_VALUE || now - file.lastModified() <= timediff) {
files.add(file);
if (files.size() > 64) {
return null;
}
}
}
}
}
if (files.size() > 512) {
if (files.size() > 64) {
return null;
}
World world = origin.getWorld();