mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-18 16:45:37 +01:00
Allow the noNewMail translation to be empty
This commit is contained in:
parent
4722e687fa
commit
4967279b8c
@ -204,7 +204,11 @@ public class EssentialsPlayerListener implements Listener
|
|||||||
final List<String> mail = user.getMails();
|
final List<String> mail = user.getMails();
|
||||||
if (mail.isEmpty())
|
if (mail.isEmpty())
|
||||||
{
|
{
|
||||||
user.sendMessage(_("noNewMail"));
|
final String msg = _("noNewMail");
|
||||||
|
if (!msg.isEmpty())
|
||||||
|
{
|
||||||
|
user.sendMessage(msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user