re-add sending helpop message to sender. unintentional side effect of the adventure PR

This commit is contained in:
Evidentsinger14 2024-04-27 20:08:47 -04:00
parent c19b20ea3b
commit e30932865b
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);
}