Fix sender not receiving helpop message (#5769)
This commit is contained in:
parent
c60ed56190
commit
6a2527ccdb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue