remove comment. oops
This commit is contained in:
parent
ca8aa4ba16
commit
3040cbc0bb
1 changed files with 0 additions and 1 deletions
|
@ -61,7 +61,6 @@ public class CitizensImporter implements DataImporter {
|
||||||
public Collection<NpcEntryImpl> importData() {
|
public Collection<NpcEntryImpl> importData() {
|
||||||
YamlConfiguration config = YamlConfiguration.loadConfiguration(dataFile);
|
YamlConfiguration config = YamlConfiguration.loadConfiguration(dataFile);
|
||||||
ConfigurationSection npcsSection = config.getConfigurationSection("npc");
|
ConfigurationSection npcsSection = config.getConfigurationSection("npc");
|
||||||
// use guard clause to avoid nested if statements
|
|
||||||
if (npcsSection == null) {
|
if (npcsSection == null) {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue