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