mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-09 12:10:56 +01:00
Update Messages.java
Returning the method if file is NOT found.
This commit is contained in:
parent
00da050f4c
commit
ea7b470c31
@ -25,7 +25,7 @@ public class Messages extends CustomConfiguration {
|
|||||||
* The filename to open
|
* The filename to open
|
||||||
*/
|
*/
|
||||||
public final void loadDefaults(File file) {
|
public final void loadDefaults(File file) {
|
||||||
if (file.exists())
|
if (!file.exists())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
setDefaults(YamlConfiguration.loadConfiguration(file));
|
setDefaults(YamlConfiguration.loadConfiguration(file));
|
||||||
|
Loading…
Reference in New Issue
Block a user