aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/command
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2019-05-13 11:28:35 +0100
committerLuck <git@lucko.me>2019-05-13 11:28:35 +0100
commit6602483b18ff556147094c2e6b816b0898ed698e (patch)
treea433ae3390cda98a9c4e1e525cbe80cac87e794b /spark-common/src/main/java/me/lucko/spark/common/command
parent226d205fc6606cc3360791f2aea3a491d577750e (diff)
downloadspark-6602483b18ff556147094c2e6b816b0898ed698e.tar.gz
spark-6602483b18ff556147094c2e6b816b0898ed698e.tar.bz2
spark-6602483b18ff556147094c2e6b816b0898ed698e.zip
Include sender metadata too
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
index e2bd80d..c51fe2c 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
@@ -64,7 +64,7 @@ public class ActivityLogModule implements CommandModule {
);
resp.replyPrefixed(TextComponent.builder(" ")
.append(TextComponent.of("Created by: ", TextColor.GRAY))
- .append(TextComponent.of(activity.getUser(), TextColor.WHITE))
+ .append(TextComponent.of(activity.getUser().getName(), TextColor.WHITE))
.build()
);