Skip to content

Commit

Permalink
fix: Switch report target and sender parameters on event dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeberrex authored Jul 7, 2024
1 parent b02d491 commit c904ffa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ReportCommands {
)
return
}
val event = PlayerReportEvent(matchPlayer, accused, reason)
val event = PlayerReportEvent(accused, matchPlayer, reason)
match.callEvent(event)
if (event.isCancelled()) {
return
Expand Down Expand Up @@ -177,4 +177,4 @@ class ReportCommands {
}.display(audience, reportList, page)
}

}
}

0 comments on commit c904ffa

Please sign in to comment.