Update Messages.java

Returning the method if file is NOT found.
This commit is contained in:
Maxetto 2015-07-19 01:36:36 +02:00
parent 00da050f4c
commit ea7b470c31

View File

@ -25,7 +25,7 @@ public class Messages extends CustomConfiguration {
* The filename to open
*/
public final void loadDefaults(File file) {
if (file.exists())
if (!file.exists())
return;
setDefaults(YamlConfiguration.loadConfiguration(file));