mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 12:20:36 +01:00
Removed unregistered from playerbase development graph
This commit is contained in:
parent
c4e8b7d948
commit
d788faa62c
@ -210,7 +210,11 @@ public class AnalysisUtils {
|
||||
TreeMap<Long, Map<String, Set<UUID>>> activityData = new TreeMap<>();
|
||||
if (!players.isEmpty()) {
|
||||
for (PlayerProfile player : players) {
|
||||
long registered = player.getRegistered();
|
||||
for (long date = time; date >= time - TimeAmount.MONTH.ms() * 2L; date -= TimeAmount.WEEK.ms()) {
|
||||
if (date < registered) {
|
||||
continue;
|
||||
}
|
||||
double activityIndex = player.getActivityIndex(date);
|
||||
String index = FormatUtils.readableActivityIndex(activityIndex)[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user