mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2024-11-16 15:25:11 +01:00
Remove incorrect check
This commit is contained in:
parent
def774c7a1
commit
fe0b63c760
@ -838,10 +838,6 @@ public class FileManager {
|
||||
InputStreamReader reader = new InputStreamReader(new FileInputStream(groupFile), Charsets.UTF_8)
|
||||
) {
|
||||
groupsConfig = YamlConfiguration.loadConfiguration(reader);
|
||||
if(config.getKeys(false).size() == 0) {
|
||||
plugin.getLogger().warning("File 'groups.yml' is empty, check for errors in the log.");
|
||||
result = false;
|
||||
}
|
||||
} catch(IOException e) {
|
||||
plugin.getLogger().warning("Could not load groups.yml file: " + groupFile.getAbsolutePath());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user