mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 22:15:06 +00:00
Fixed quest not tracking from previous commit.
This commit is contained in:
1 parent
e0360f9a6e
commit
142fbe51e2
2 files changed
+5
-7
No files matched your search
@@ -146,7 +146,7 @@ public class PlayerQuestData implements IPlayerQuestData {
|
||||
}
|
||||
|
||||
public void trackQuest(IQuest quest) {
|
||||
if (quest.getId() != this.trackedQuest.getId()) {
|
||||
if (this.trackedQuest == null || quest.getId() != this.trackedQuest.getId()) {
|
||||
this.trackedQuest = quest;
|
||||
NoppesUtilPlayer.sendTrackedQuestData((EntityPlayerMP) this.parent.player, (Quest) this.trackedQuest);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user