1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Fix quests not giving rewards until one extra item was done. (Partially reverts 86c9478 )

This commit is contained in:
Momshroom 2023-05-17 21:53:17 -05:00
parent f94a6b0b87
commit ac75c303bb

View File

@ -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;