Quests icon indicating copy to clipboard operation
Quests copied to clipboard

[Bug] Saplings `reverse-if-broken` not working

Open MrPranklez opened this issue 3 years ago • 2 comments

Description of Bug

When adding the reverse-if-broken flag to a blockplacecertain task with some type of sapling, it will not reverse any progress if the specified sapling is broken while the quest is active.

Steps to Reproduce

Create a quest with a blockplacecertain with any type of sapling. Place a sapling and destroy it again, progress should be 0, but it will remain at 1.

Environment

  • Minecraft version: 1.17.1
  • Server software: Purpur (latest build)
  • Quests version: latest (3.9)

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

MrPranklez avatar Aug 19 '21 08:08 MrPranklez

The saplings dont appear to register correctly. If you define oak sapling specifically and have another quest with birch sapling, both quests will progress no matter what sapling you place

MrPranklez avatar Aug 29 '21 23:08 MrPranklez

Fixed in https://github.com/LMBishop/Quests/commit/ad8cbad7cc90531922f5d68b8be621d18b2b1b3b

Krakenied avatar Apr 19 '22 04:04 Krakenied

@LMBishop can be closed ^

Krakenied avatar Feb 20 '24 09:02 Krakenied