mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-15 13:36:31 +00:00
Fix Mail display in case not enough arguments are supplied
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1482 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
cc37bafb42
commit
942e893248
1 changed files with 1 additions and 1 deletions
|
@ -70,6 +70,6 @@ public class Commandmail extends EssentialsCommand
|
||||||
user.sendMessage(Util.i18n("mailCleared"));
|
user.sendMessage(Util.i18n("mailCleared"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
user.sendMessage(Util.format("usage", "/mail [read|clear|send [to] [message]]"));
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue