Skip to content

Commit

Permalink
Patch Event
Browse files Browse the repository at this point in the history
  • Loading branch information
KanekiLeChomeur authored Jun 13, 2022
1 parent c249aca commit fdfa17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CustomAlerts/src/CustomAlerts/EventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function onReceivePacket(DataPacketReceiveEvent $event){

$ev->call();
if($ev->getMessage() != ""){
$origin->disconnect($cevent->getMessage());
$origin->disconnect($ev->getMessage());
return;
}
}
Expand Down

0 comments on commit fdfa17f

Please sign in to comment.