2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

added some javadocs info + added jedis summoner class for future release

This commit is contained in:
2022-04-14 14:12:47 +04:00
parent e53f8a02ba
commit 4d0222d2ae
5 changed files with 67 additions and 9 deletions

View File

@@ -346,7 +346,9 @@ public class RedisBungeeBungeePlugin extends Plugin implements RedisBungeePlugin
} catch (JedisConnectionException e) {
throw new RuntimeException("Unable to connect to your Redis server!", e);
}
api = new RedisBungeeAPI(this);
this.api = new RedisBungeeAPI(this);
// call old plugin class to support old plugins
new RedisBungee(api);
if (isJedisAvailable()) {
try (Jedis tmpRsc = requestJedis()) {
// This is more portable than INFO <section>