From 41e2ea64902c9489d40f0be20bb8890627c6883f Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Tue, 26 Apr 2016 16:20:14 +1000 Subject: [PATCH] Fix off by one error in GoalCounter --- .../src/mineplex/serverdata/redis/counter/GoalCounter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.ServerData/src/mineplex/serverdata/redis/counter/GoalCounter.java b/Plugins/Mineplex.ServerData/src/mineplex/serverdata/redis/counter/GoalCounter.java index fe85c6536..496f16293 100644 --- a/Plugins/Mineplex.ServerData/src/mineplex/serverdata/redis/counter/GoalCounter.java +++ b/Plugins/Mineplex.ServerData/src/mineplex/serverdata/redis/counter/GoalCounter.java @@ -78,7 +78,7 @@ public class GoalCounter extends Counter */ private void update() { - boolean updatedValue = getCount() > _goal; + boolean updatedValue = getCount() >= _goal; if (updatedValue != _completed) {