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