mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-30 06:03:29 +01:00
Fix for startup error.
This commit is contained in:
parent
0003d000ef
commit
094d08218c
@ -229,6 +229,7 @@ public class SkyBlock extends JavaPlugin {
|
|||||||
//Load Stackables
|
//Load Stackables
|
||||||
String path = getDataFolder().toString() + "/island-data";
|
String path = getDataFolder().toString() + "/island-data";
|
||||||
File[] files = new File(path).listFiles();
|
File[] files = new File(path).listFiles();
|
||||||
|
if (files == null) return;
|
||||||
for (File file : files) {
|
for (File file : files) {
|
||||||
File configFile = new File(path);
|
File configFile = new File(path);
|
||||||
FileManager.Config config = fileManager.getConfig(new File(configFile, file.getName()));
|
FileManager.Config config = fileManager.getConfig(new File(configFile, file.getName()));
|
||||||
|
Loading…
Reference in New Issue
Block a user