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