Follow project coding style.
This commit is contained in:
@@ -61,8 +61,8 @@ public class Main extends JavaPlugin {
|
||||
}
|
||||
|
||||
public void transferVaults() {
|
||||
File f = new File(getDataFolder(),"vaults.yml");
|
||||
if(f.exists() && !new File(getDataFolder(), "vaults").exists()) {
|
||||
File f = new File(getDataFolder() + File.separator + "vaults.yml");
|
||||
if(f.exists() && !new File(getDataFolder() + File.separator + "vaults").exists()) {
|
||||
YamlConfiguration vaults = YamlConfiguration.loadConfiguration(f);
|
||||
for(String key:vaults.getKeys(false)) {
|
||||
YamlConfiguration newPerson = new YamlConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user