Remove incorrect check

This commit is contained in:
Thijs Wiefferink 2016-07-17 23:51:24 +02:00
parent def774c7a1
commit fe0b63c760

View File

@ -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());
}