Skip to content

Commit

Permalink
Update method showModeratorEvent to use playerNameFromCommandSource i…
Browse files Browse the repository at this point in the history
…nstead of sender (#212)

* Update method showModeratorEvent to use playerNameFromCommandSource instead of sender (#205)

* Update commonsVersion for faf-commons
  • Loading branch information
magge-faf authored Jun 1, 2024
1 parent 0dc1e59 commit 6702a21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ println "Platform is: ${javafxPlatform}"
dependencies {
def springBootVersion = "3.2.2"
def mapStructVersion = "1.5.5.Final"
def commonsVersion = "6e46109"
def commonsVersion = "763f32222acf0011c6b8b36dac9e0462eb433745"

annotationProcessor(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
implementation(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private void showModeratorEvent(List<ModeratorEvent> moderatorEvents){

return format("[{0}] from {1}: {2}",
formattedChatMessageTime,
event.sender(),
event.playerNameFromCommandSource(),
event.message());
})
.collect(Collectors.joining("\n"));
Expand Down

0 comments on commit 6702a21

Please sign in to comment.