diff --git a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java index 5953e03..23e16a0 100644 --- a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java +++ b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java @@ -44,6 +44,6 @@ public class PlaytimeCommand extends BasicCommand{ format.setMaximumFractionDigits(2); String formattedText = format.format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600)); - Message.send(Message.parse("HOURS_PLAYED", sender) + formattedText,sender); + Message.send("HOURS_PLAYED", sender, formattedText); } }