Skip to content

Commit

Permalink
Fix a minor issue on velocity for redis
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Dec 14, 2023
1 parent add3dca commit c45ce0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c45ce0d

Please sign in to comment.