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 +}