Merge branch '2.x' into 2.x

This commit is contained in:
pop4959 2024-04-28 01:39:49 -07:00 committed by GitHub
commit f3cdc0c359
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ public class Commandhelpop extends EssentialsCommand {
final HelpopMessageSendEvent sendEvent = new HelpopMessageSendEvent(from, recipients, message);
ess.getServer().getPluginManager().callEvent(sendEvent);
from.sendTl("helpOp", from.getDisplayName(), message);
for (IUser recipient : sendEvent.getRecipients()) {
recipient.sendTl("helpOp", from.getDisplayName(), message);
}