Skip to content

Commit

Permalink
Merge pull request #1 from gamerover98/master
Browse files Browse the repository at this point in the history
Added the getter method for the event details
  • Loading branch information
Jpx3 authored May 5, 2022
2 parents e212600 + 5a46217 commit aa81183
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ public String message() {
return message + " (" + details.trim() + ")";
}

/**
* @return the details of this violation.
*/
public String details() {
return this.details;
}

/**
* Retrieve the detection message without details.
* Usually in a format where it can be prefixed with the players name (e.g. "moved incorrectly")
Expand Down

0 comments on commit aa81183

Please sign in to comment.