Skip to content

Commit 6702a21

Browse files
authored
Update method showModeratorEvent to use playerNameFromCommandSource instead of sender (#212)
* Update method showModeratorEvent to use playerNameFromCommandSource instead of sender (#205) * Update commonsVersion for faf-commons
1 parent 0dc1e59 commit 6702a21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ println "Platform is: ${javafxPlatform}"
3535
dependencies {
3636
def springBootVersion = "3.2.2"
3737
def mapStructVersion = "1.5.5.Final"
38-
def commonsVersion = "6e46109"
38+
def commonsVersion = "763f32222acf0011c6b8b36dac9e0462eb433745"
3939

4040
annotationProcessor(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
4141
implementation(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))

src/main/java/com/faforever/moderatorclient/ui/moderation_reports/ModerationReportController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private void showModeratorEvent(List<ModeratorEvent> moderatorEvents){
242242

243243
return format("[{0}] from {1}: {2}",
244244
formattedChatMessageTime,
245-
event.sender(),
245+
event.playerNameFromCommandSource(),
246246
event.message());
247247
})
248248
.collect(Collectors.joining("\n"));

0 commit comments

Comments
 (0)