1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00

Tell user that /mail sendall succeeded when used in console.

This commit is contained in:
KHobbits
2013-01-06 16:26:33 +00:00
parent 3c4388f8be
commit c57332be63

View File

@@ -115,6 +115,8 @@ public class Commandmail extends EssentialsCommand
else if (args.length >= 1 && "sendall".equalsIgnoreCase(args[0]))
{
ess.scheduleAsyncDelayedTask(new SendAll("Server: " + getFinalArg(args, 2)));
sender.sendMessage(_("mailSent"));
return;
}
else if (args.length >= 2)
{