mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-13 22:04:36 +01:00
Fix possible null pointer in the mail command
This commit is contained in:
@@ -56,7 +56,7 @@ public class MailCommand implements CommandHandler {
|
||||
// Send to target
|
||||
args.getTarget().getMailbox().sendMail(mail);
|
||||
|
||||
sender.sendMessage("Sending mail to " + args.getTarget().getName());
|
||||
this.sendMessage(sender, "Sending mail to " + args.getTarget().getName());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user