aboutsummaryrefslogtreecommitdiffstats
path: root/bukkit/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'bukkit/src/main/java')
-rw-r--r--bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java
index 4e0d705b..7cc4ace8 100644
--- a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java
+++ b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java
@@ -71,7 +71,7 @@ public final class VotingPluginVoteType extends BukkitTaskType {
progressVotes = (int) taskProgress.getProgress();
}
- taskProgress.setProgress(votesNeeded + 1);
+ taskProgress.setProgress(progressVotes + 1);
if (((int) taskProgress.getProgress()) >= votesNeeded) {
taskProgress.setCompleted(true);