From c622bc7b63bf77076f71d3d462cd0137672ec928 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Thu, 26 Sep 2024 19:10:32 +0400 Subject: [PATCH] move destroyProxyMembers to correct place fixes null network id --- .../minecraft/redisbungee/api/ProxyDataManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java index d58aadf0..07a5df3a 100644 --- a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java +++ b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java @@ -66,9 +66,9 @@ public ProxyDataManager(RedisBungeePlugin plugin) { this.plugin = plugin; this.proxyId = this.plugin.configuration().getProxyId(); this.unifiedJedis = plugin.getSummoner().obtainResource(); - this.destroyProxyMembers(); this.networkId = plugin.configuration().networkId(); this.STREAM_ID = "network-" + this.networkId + "-redisbungee-stream"; + this.destroyProxyMembers(); } public abstract Set getLocalOnlineUUIDs();