Archiviert
1
0
Dieser Commit ist enthalten in:
zOnlyKroks 2021-12-29 10:19:53 +01:00
Ursprung 1815c986d5
Commit 94fe119330

Datei anzeigen

@ -25,9 +25,6 @@ import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.connection.ProxiedPlayer;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.text.Format;
import java.text.NumberFormat;
import java.util.Locale;
public class PlaytimeCommand extends BasicCommand{ public class PlaytimeCommand extends BasicCommand{
@ -43,6 +40,6 @@ public class PlaytimeCommand extends BasicCommand{
String s = Message.parse("TIME_FORMAT", sender); String s = Message.parse("TIME_FORMAT", sender);
String format = new DecimalFormat(s).format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600)); String format = new DecimalFormat(s).format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600));
Message.send("DECIMAL_FORMAT", sender, format); Message.send(format,sender);
} }
} }