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

View File

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