diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-08-08 22:51:16 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-08-08 22:51:56 +0100 |
| commit | 80ab8816c6459d7a0f4f835df67b442b7f7d0872 (patch) | |
| tree | 2e048f61ba5fbda0c623fba1d8d3b8d907ab4846 /bukkit/src/main/java | |
| parent | b0a112054d0e57943ea4307e3e427e5ac8c216f9 (diff) | |
Fix votingplugin (closes #228)
Diffstat (limited to 'bukkit/src/main/java')
| -rw-r--r-- | bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/VotingPluginVoteType.java | 2 |
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); |
