monthly best time and other minecleaner letter color
This commit is contained in:
parent
845c465832
commit
c0503f5446
4 changed files with 28 additions and 16 deletions
|
|
@ -69,7 +69,8 @@ public class StatsCommand extends SubCommand {
|
|||
sender.sendMessage(ChatColor.GREEN + " " + sizeName + ":");
|
||||
sender.sendMessage(ChatColor.BLUE + " Runden gewonnen: " + ChatColor.GREEN + totalWonSize + " von " + totalSize + " (" + MinecleanerStringUtil.percentageString(totalWonSize, totalSize)+ ") " + "(Dieser Monat: " + totalWonMonth + " von " + totalSizeMonth + " (" + MinecleanerStringUtil.percentageString(totalWonMonth, totalSizeMonth)+ ")" + ")");
|
||||
Integer time = data.getBestTime(e.getKey());
|
||||
sender.sendMessage(ChatColor.BLUE + " Bestzeit: " + ChatColor.GREEN + (time == null ? "-": MinecleanerStringUtil.timeToString(time)));
|
||||
Integer timeThisMonth = data.getBestTimeThisMonth(e.getKey());
|
||||
sender.sendMessage(ChatColor.BLUE + " Bestzeit: " + ChatColor.GREEN + (time == null ? "-" : MinecleanerStringUtil.timeToString(time)) + " (Dieser Monat: " + (timeThisMonth == null ? "-" : MinecleanerStringUtil.timeToString(timeThisMonth)) + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue