mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 20:31:38 +01:00
Fixed NPE on Analysis #448
This commit is contained in:
parent
7c31cb3c34
commit
7f580bffe9
@ -398,7 +398,10 @@ public class ServerProfile {
|
||||
Session session = entry.getValue();
|
||||
session.setSessionID((int) session.getSessionStart());
|
||||
|
||||
getPlayer(uuid).addActiveSession(session);
|
||||
PlayerProfile player = getPlayer(uuid);
|
||||
if (player != null) {
|
||||
player.addActiveSession(session);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user