mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
[#994] Player Calendar now shows kill victim names.
This commit is contained in:
parent
05bfea37b0
commit
3fd0f635a6
@ -121,7 +121,7 @@ public class PlayerCalendar {
|
||||
for (PlayerKill kill : session.getPlayerKills()) {
|
||||
long time = kill.getDate();
|
||||
|
||||
series.append(",{title: 'Killed: ").append(kill.getVictim())
|
||||
series.append(",{title: 'Killed: ").append(kill.getVictimName().orElse(kill.getVictim().toString()))
|
||||
.append("',start:").append(time)
|
||||
.append(",end:").append(time + fiveMinutes)
|
||||
.append(",color: '").append(theme.getValue(ThemeVal.RED)).append("'")
|
||||
|
Loading…
Reference in New Issue
Block a user