1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-29 04:18:07 +01:00

Merge pull request #1604 from Momshroom/master

Fix quests not giving rewards until one extra item was done.  (Partia…
This commit is contained in:
Zrips 2023-05-19 13:15:00 +03:00 committed by GitHub
commit 7d9f90647e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;