From 071e88966e78bd65366612839672d1909ecafd71 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Wed, 29 Dec 2021 10:23:58 +0100 Subject: [PATCH] Format --- src/de/steamwar/bungeecore/commands/PlaytimeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java index 862515c..8a0eee3 100644 --- a/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java +++ b/src/de/steamwar/bungeecore/commands/PlaytimeCommand.java @@ -40,6 +40,6 @@ public class PlaytimeCommand extends BasicCommand{ String s = Message.parse("TIME_FORMAT", sender); String format = new DecimalFormat(s).format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600)); - Message.send(format,sender); + Message.send(Message.parse("HOURS_PLAYED", sender) + format,sender); } }