From c818007426209a21fd3d74ab75091db7c404468f Mon Sep 17 00:00:00 2001 From: BenCodez Date: Sat, 23 Mar 2024 20:48:31 -0400 Subject: [PATCH] Fix issue with multi-proxy redis on velocity --- .../votingplugin/bungee/velocity/Config.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/Config.java b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/Config.java index 49b755131..135d39fb3 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/Config.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/Config.java @@ -64,7 +64,7 @@ public int getRedisPort() { public String getRedisUsername() { return getString(getNode("Redis", "Username"), ""); } - + public String getRedisPrefix() { return getString(getNode("Redis", "Prefix"), ""); } @@ -198,23 +198,23 @@ public List getProxyServers() { } public boolean getMultiProxyRedisUseExistingConnection() { - return getBoolean(getNode("MultiProxyRedis.UseExistingConnection"), false); + return getBoolean(getNode("MultiProxyRedis", "UseExistingConnection"), false); } public String getMultiProxyRedisHost() { - return getString(getNode("MultiProxyRedis.Host"), ""); + return getString(getNode("MultiProxyRedis", "Host"), ""); } public int getMultiProxyRedisPort() { - return getInt(getNode("MultiProxyRedis.Port"), 6379); + return getInt(getNode("MultiProxyRedis", "Port"), 6379); } public String getMultiProxyRedisUsername() { - return getString(getNode("MultiProxyRedis.Username"), ""); + return getString(getNode("MultiProxyRedis", "Username"), ""); } public String getMultiProxyRedisPassword() { - return getString(getNode("MultiProxyRedis.Password"), ""); + return getString(getNode("MultiProxyRedis", "Password"), ""); } }