Fix loading when there is no regions folder

This commit is contained in:
Thijs Wiefferink 2015-06-21 17:08:11 +02:00
parent 401f52e687
commit a0239b8837

View File

@ -979,6 +979,7 @@ public class FileManager {
File file = new File(regionsPath);
if(!file.exists()) {
file.mkdirs();
plugin.setReady(true);
} else if(file.isDirectory()) {
File[] regionFiles = file.listFiles();
for(File regionFile : regionFiles) {