From 5e9624cba61695388e712921e661e9a741fe8fbc Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Sun, 10 Sep 2017 17:36:56 +0300 Subject: [PATCH] 3.9.9 Dev Release --- .../java/com/djrapitops/plan/utilities/analysis/Analysis.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/Analysis.java b/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/Analysis.java index 23c48430e..000089fcb 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/Analysis.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/Analysis.java @@ -279,7 +279,9 @@ public class Analysis { Map activeSessions = plugin.getDataCache().getActiveSessions(); Map> sessions = db.getSessionsTable().getAllSessions(true).get(Plan.getServerUUID()); joinInfo.addActiveSessions(activeSessions); - joinInfo.addSessions(sessions); + if (sessions != null) { + joinInfo.addSessions(sessions); + } analysisData.setPlayersTable(PlayersTableCreator.createTable(userInfo, joinInfo, geolocPart));