mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 02:35:25 +01:00
fix
This commit is contained in:
parent
e8e38d6d8d
commit
d7efe4bdda
@ -234,7 +234,7 @@ public class SkyBlock extends JavaPlugin {
|
||||
FileManager.Config config = fileManager.getConfig(new File(configFile, file.getName()));
|
||||
FileConfiguration configLoad = config.getFileConfiguration();
|
||||
ConfigurationSection cs = configLoad.getConfigurationSection("Stackables");
|
||||
if (cs == null) return;
|
||||
if (cs == null || cs.getKeys(false) == null) return;
|
||||
for (String uuid : cs.getKeys(false)) {
|
||||
ConfigurationSection section = configLoad.getConfigurationSection("Stackables." + uuid);
|
||||
Location location = (Location)section.get("Location");
|
||||
|
Loading…
Reference in New Issue
Block a user