mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2025-02-20 14:01:43 +01:00
Fix loading when there is no regions folder
This commit is contained in:
parent
401f52e687
commit
a0239b8837
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user