mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
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…
Reference in New Issue
Block a user