mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-25 18:17:34 +01:00
Ignore message if string is empty
This commit is contained in:
parent
ca0cbe6caf
commit
b825f52a16
@ -76,6 +76,9 @@ public class Messages {
|
|||||||
+ "Please verify your config file at '" + fileName + "'");
|
+ "Please verify your config file at '" + fileName + "'");
|
||||||
return formatMessage(getDefault(code));
|
return formatMessage(getDefault(code));
|
||||||
}
|
}
|
||||||
|
if(message.isEmpty()) {
|
||||||
|
return new String[0];
|
||||||
|
}
|
||||||
return formatMessage(message);
|
return formatMessage(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user