Skip to content

Commit cb1599f

Browse files
committed
Fix double vote points on online proxy votes
1 parent 59a2066 commit cb1599f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

VotingPlugin/src/main/java/com/bencodez/votingplugin/BungeeHandler.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,6 @@ public void onReceive(ArrayList<String> args) {
324324
.getVotingPluginUser(UUID.fromString(uuid), player);
325325
user.cache();
326326

327-
if (plugin.getBungeeSettings().isPerServerPoints()) {
328-
user.addPoints(plugin.getConfigFile().getPointsOnVote());
329-
}
330-
331327
boolean setTotals = Boolean.valueOf(args.get(7));
332328

333329
boolean wasOnline = Boolean.valueOf(args.get(4));

0 commit comments

Comments
 (0)