Make sure playerCache variable is initalised on enable

This commit is contained in:
Focusvity 2022-05-18 20:40:29 +10:00
parent 7efa151157
commit a775d258e9
No known key found for this signature in database
GPG Key ID: 85AD157561ABE94B
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ public class Plex extends PlexPlugin implements PlexApiProvider
mongoConnection = new MongoConnection();
redisConnection = new RedisConnection();
playerCache = new PlayerCache();
system = config.getString("system");
PlexLog.log("Attempting to connect to DB: {0}", plugin.config.getString("data.central.db"));