From 3314c5e54b972fa74f1b8975c2e7c1cdbbe3a10b Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Sat, 18 May 2024 16:46:35 +0400 Subject: [PATCH] invalidate clarifcation, remove unified jedis method from ProxyDataManager --- .../minecraft/redisbungee/api/PlayerDataManager.java | 6 +++++- .../minecraft/redisbungee/api/ProxyDataManager.java | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java index 94c1ed9..c102644 100644 --- a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java +++ b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/PlayerDataManager.java @@ -52,7 +52,7 @@ public abstract class PlayerDataManager plugin) { this.plugin = plugin; - this.unifiedJedis = plugin.proxyDataManager().unifiedJedis(); + this.unifiedJedis = plugin.getSummoner().obtainResource(); this.proxyId = plugin.proxyDataManager().proxyId(); this.networkId = plugin.proxyDataManager().networkId(); } @@ -83,6 +83,8 @@ public abstract class PlayerDataManager