This commit is contained in:
Brianna O'Keefe 2019-02-03 01:42:18 -05:00
parent e8e38d6d8d
commit d7efe4bdda

View File

@ -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");