Update Settings.java
Returning the method if file is NOT found.
This commit is contained in:
parent
ea7b470c31
commit
1760461518
@ -704,7 +704,7 @@ public final class Settings extends YamlConfiguration {
|
||||
* The filename to open
|
||||
*/
|
||||
public final void loadDefaults(File file) {
|
||||
if (file.exists())
|
||||
if (!file.exists())
|
||||
return;
|
||||
|
||||
setDefaults(YamlConfiguration.loadConfiguration(file));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user