Intendation ftw
This commit is contained in:
@@ -66,11 +66,11 @@ public class Main extends JavaPlugin {
|
||||
getDataFolder().mkdir();
|
||||
lang.createNewFile();
|
||||
InputStream defConfigStream = this.getResource("lang.yml");
|
||||
if (defConfigStream != null) {
|
||||
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defConfigStream);
|
||||
defConfig.save(lang);
|
||||
return defConfig;
|
||||
}
|
||||
if (defConfigStream != null) {
|
||||
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defConfigStream);
|
||||
defConfig.save(lang);
|
||||
return defConfig;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace(); //So they notice
|
||||
log.severe("[PlayerVaults] Couldn't create language file.");
|
||||
|
||||
Reference in New Issue
Block a user