From 5040c76dc6617c39d13e718a4b1a02884c4cf60e Mon Sep 17 00:00:00 2001 From: Deauthorized <49701242+Deauthorized@users.noreply.github.com> Date: Thu, 2 May 2024 17:24:49 -0400 Subject: [PATCH] Update BcastLoginMessageCMD.java --- .../main/java/dev/plex/command/impl/BcastLoginMessageCMD.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/dev/plex/command/impl/BcastLoginMessageCMD.java b/server/src/main/java/dev/plex/command/impl/BcastLoginMessageCMD.java index bfc69d8..2eac9e4 100644 --- a/server/src/main/java/dev/plex/command/impl/BcastLoginMessageCMD.java +++ b/server/src/main/java/dev/plex/command/impl/BcastLoginMessageCMD.java @@ -41,7 +41,7 @@ public class BcastLoginMessageCMD extends PlexCommand if (!loginMessage.isEmpty()) { PlexUtils.broadcast(PlexUtils.stringToComponent(loginMessage)); - PlexUtils.broadcast(mmString("" + plexPlayer.getName() + " joined the game")); + PlexUtils.broadcast(messageComponent("loginMessage", plexPlayer.getName())); } else { @@ -56,4 +56,4 @@ public class BcastLoginMessageCMD extends PlexCommand { return args.length == 1 && silentCheckPermission(sender, this.getPermission()) ? PlexUtils.getPlayerNameList() : ImmutableList.of(); } -} \ No newline at end of file +}