Quests
Quests copied to clipboard
Incorrect display of PAPI
Description of Bug
Incorrect display of PAPI none of the placeholders in the screenshot work.. they do not give any result at all, the other placeholders work without problems.
I have to take the quest, but when I call the substitute, I always get the answer: No tracked quest
Steps to Reproduce
- Take the quest
- command enter /papi parse Thin_Troll %quests_tracked%
Environment
- Minecraft version: 1.12.2 build 1620
- Server software: Linux, Debian 10
- Quests version: 3.9.2
Agreements
- [X] I am running the latest version of Quests
- [X] I am certain this issue is unique and a similar issue is not currently open
- [X] I am using a version of Minecraft which is supported by Quests
Other
No response
The QuestID from QPlayer#getPlayerPreferences#getTrackedQuestId always returns null. So it's not the placeholders but the quest tracking logic. Debug says:
[21:19:32 INFO]: [Quests] DEBUG: Player 1afc04ab-6332-4982-804e-d29caf155737 has a valid quest progress file.
[21:19:32 INFO]: [Quests] DEBUG: Quest progress file loaded for player 1afc04ab-6332-4982-804e-d29caf155737.
[21:19:32 INFO]: [Quests] DEBUG: Processing player (full check) 1afc04ab-6332-4982-804e-d29caf155737
Unsure where it goes south. I'm trying to investigate further, but I find alot of the code parts rather confusing...
Tracked quests aren't persisted across sessions, perhaps this is the issue