1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-15 11:04:29 +02:00

Allow the noNewMail translation to be empty

This commit is contained in:
Alexander Schepp
2012-11-04 22:34:47 +01:00
parent a92e1ccaaf
commit a55c30c07e

View File

@@ -204,7 +204,11 @@ public class EssentialsPlayerListener implements Listener
final List<String> mail = user.getMails();
if (mail.isEmpty())
{
user.sendMessage(_("noNewMail"));
final String msg = _("noNewMail");
if (!msg.isEmpty())
{
user.sendMessage(msg);
}
}
else
{