.
Dieser Commit ist enthalten in:
Ursprung
7220051c18
Commit
20dc8fca3e
@ -40,7 +40,7 @@ public class PlaytimeCommand extends BasicCommand{
|
||||
if(!(sender instanceof ProxiedPlayer))
|
||||
return;
|
||||
|
||||
NumberFormat format = NumberFormat.getNumberInstance(LocaleUtils.toLocale(Message.parse("DECIMAL_FORMAT", sender)));
|
||||
NumberFormat format = NumberFormat.getNumberInstance(((ProxiedPlayer)sender).getLocale());
|
||||
format.setMaximumFractionDigits(2);
|
||||
String formattedText = format.format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600));
|
||||
|
||||
|
@ -571,4 +571,3 @@ GDPR_STATUS_FINISHED=§7Packen abgeschlossen
|
||||
|
||||
#Playtime Command
|
||||
HOURS_PLAYED=§7Deine Spielzeit beträgt§8: §e{0}h
|
||||
DECIMAL_FORMAT=###,##
|
In neuem Issue referenzieren
Einen Benutzer sperren