fix the mail owo owowo owowo
This commit is contained in:
parent
c57a1b053c
commit
e575534b6f
1 changed files with 5 additions and 1 deletions
|
@ -154,7 +154,11 @@ public class MailCommand extends Command {
|
|||
senderMailSize++;
|
||||
}
|
||||
|
||||
if (senderMailSize == 0) context.sendOutput(Component.text("You have no new mails").color(NamedTextColor.RED));
|
||||
if (senderMailSize == 0) {
|
||||
context.sendOutput(Component.text("You have no new mails").color(NamedTextColor.RED));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
final List<Component> mailsComponent = new ArrayList<>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue