mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-07 15:48:43 +00:00
* Fixes #1794
This commit is contained in:
parent
fb5ebdb0c2
commit
e4a8222d48
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ public class EssentialsPlayerListener implements Listener {
|
|||
|
||||
final IText input = tempInput;
|
||||
|
||||
if (input != null && user.isAuthorized("essentials.motd")) {
|
||||
if (input != null && !input.getLines().isEmpty() && user.isAuthorized("essentials.motd")) {
|
||||
final IText output = new KeywordReplacer(input, user.getSource(), ess);
|
||||
final TextPager pager = new TextPager(output, true);
|
||||
pager.showPage("1", null, "motd", user.getSource());
|
||||
|
|
Loading…
Reference in a new issue