From ac75c303bbaaa1befb2c73cda4d40e99b18979bf Mon Sep 17 00:00:00 2001 From: Momshroom Date: Wed, 17 May 2023 21:53:17 -0500 Subject: [PATCH] Fix quests not giving rewards until one extra item was done. (Partially reverts 86c9478 ) --- .../java/com/gamingmesh/jobs/container/QuestProgression.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/container/QuestProgression.java b/src/main/java/com/gamingmesh/jobs/container/QuestProgression.java index e38dba16..687bb535 100644 --- a/src/main/java/com/gamingmesh/jobs/container/QuestProgression.java +++ b/src/main/java/com/gamingmesh/jobs/container/QuestProgression.java @@ -174,7 +174,8 @@ public class QuestProgression { jPlayer.setSaved(false); - if (!completed || !player.isOnline() || givenReward) + //needs to re-call isCompleted() because it might have changed above. + if (!isCompleted() || !player.isOnline() || givenReward) return; givenReward = true;