break-block quests are duplicating after relog
frendlyZ opened this issue ยท 7 comments
Hello,
I have a big problem, when player takes quest, where he has to break or place blocks and he disconnect, it duplicates. So he doesn't have to mine or place 64 stones once, but twice and the duplicated quest doesn't count, so it's not possible to complete the quest.
I believe I have the same or a similar issue. When a player relogs, the quest journal shows progress for block break requirements as 0, but this is what their data file looks like:
- Catch Fish
- Lawnmower
currentStages:
- 0
- 0
quest-points: 2
questData:
Catch Fish:
fish-caught: 2
chat-triggers:
- rod
Lawnmower:
blocks-broken-names:
- LONG_GRASS
- LONG_GRASS
- LONG_GRASS
- LONG_GRASS
- LONG_GRASS
- LONG_GRASS
blocks-broken-amounts:
- 0
- 37
- 37
- 37
- 37
- 37
blocks-broken-durability:
- 1
- 0
- 0
- 0
- 0
- 0
This is what the Lawnmower quest looks like:
name: Lawnmower
ask-message: Break 1000 blocks of grass.
finish-message: '&aQuest complete!'
stages:
ordered:
'1':
break-block-names:
- LONG_GRASS
break-block-amounts:
- 1000
break-block-durability:
- 1
rewards:
money: 25
quest-points: 2
@frendlyZ Quests version?
@frendlyZ The asterisk is not sufficient. Please post the entire version number.