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:
parent
f94a6b0b87
commit
ac75c303bb
@ -174,7 +174,8 @@ public class QuestProgression {
|
|||||||
|
|
||||||
jPlayer.setSaved(false);
|
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;
|
return;
|
||||||
|
|
||||||
givenReward = true;
|
givenReward = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user