Fixed a bug where Session remained active after player logged out and session ended

This commit is contained in:
Rsl1122 2017-09-26 18:43:09 +03:00
parent ec7b5d0aa5
commit 4214e33070

View File

@ -42,6 +42,8 @@ public class SessionCache {
plugin.getDB().getSessionsTable().saveSession(uuid, session);
} catch (SQLException e) {
Log.toLog(this.getClass().getName(), e);
} finally {
activeSessions.remove(uuid);
}
}