mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-31 18:01:42 +00:00
Allow the noNewMail translation to be empty
This commit is contained in:
parent
4722e687fa
commit
4967279b8c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue