From c45ce0d090291d5a743b2cb1babde14e3e24acdd Mon Sep 17 00:00:00 2001 From: BenCodez Date: Wed, 13 Dec 2023 19:58:14 -0500 Subject: [PATCH] Fix a minor issue on velocity for redis --- .../votingplugin/bungee/velocity/VotingPluginVelocity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java index 02b2e7b69..93f45a794 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java @@ -179,7 +179,7 @@ public synchronized void checkCachedVotes(RegisteredServer serverToCheck) { } if (toSend) { - sendPluginMessageServer(serverToCheck, "Vote", cache.getPlayerName(), cache.getUuid(), + sendMessageServer(serverToCheck, "Vote", cache.getPlayerName(), cache.getUuid(), cache.getService(), "" + cache.getTime(), Boolean.FALSE.toString(), "" + cache.isRealVote(), cache.getText(), "" + getConfig().getBungeeManageTotals(), "" + BungeeVersion.getPluginMessageVersion(), "" + config.getBroadcast(), "" + num, @@ -209,7 +209,7 @@ public synchronized void checkOnlineVotes(Player player, String uuid, Registered int num = 1; int numberOfVotes = c.size(); for (OfflineBungeeVote cache : c) { - sendPluginMessageServer(serverToCheck, "VoteOnline", cache.getPlayerName(), cache.getUuid(), + sendMessageServer(serverToCheck, "VoteOnline", cache.getPlayerName(), cache.getUuid(), cache.getService(), "" + cache.getTime(), Boolean.FALSE.toString(), "" + cache.isRealVote(), cache.getText(), "" + getConfig().getBungeeManageTotals(), "" + BungeeVersion.getPluginMessageVersion(), "" + config.getBroadcast(), "" + num,