Skip to content

Commit

Permalink
Added neededvotes placeholder to broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Mar 17, 2024
1 parent bd5234b commit d1dc8b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public void broadcastVote(VotingPluginUser user, boolean checkBungee) {
placeholders.put("sitename", getDisplayName());
placeholders.put("servicesite", getServiceSite());
placeholders.put("votesrequired", "" + plugin.getVoteParty().getVotesRequired());
placeholders.put("neededvotes", "" + plugin.getVoteParty().getNeededVotes());
bc = StringParser.getInstance().replacePlaceHolder(bc, placeholders);
bc = StringParser.getInstance().replacePlaceHolders(user.getOfflinePlayer(), bc);
ArrayList<Player> players = new ArrayList<Player>();
Expand Down

0 comments on commit d1dc8b3

Please sign in to comment.