BeautyQuests icon indicating copy to clipboard operation
BeautyQuests copied to clipboard

Moving ores with pistons tricks the plugin into thinking they are naturally generated

Open MrFoxMC opened this issue 2 years ago • 0 comments

Describe the bug When a quest to mine any block is initiated and the "prevent players from breaking their own blocks" feature is enabled, a player can simply push the block with a piston to trick the plugin into thinking said block is generated naturally and it will count towards the quest.

Reproduction

  1. Create a quest to mine any block.
  2. Enable the "prevent players from breaking their own blocks" feature.
  3. Silk touches the block needed for the quest.
  4. Place the block.
  5. Place a piston beside the block to move it.
  6. Activate the piston.
  7. Mine the block, it will now count towards the quest despite "prevent players from breaking their own blocks" being enabled.

Screenshots, error messages None applicable

Software BeautyQuests version: 0.19.6 Game version: 1.18.2 Server version: 1.18.1 Server type (e.i. PaperSpigot): Paper Are you using a protocol hack (like ViaVersion)? Yes, I am using ViaVersion 4.2.1

Additional context (optional) None.

(FR: Si vous êtes plus facilement compréhensible en français, écrivez dans cette langue car il s'agit de ma langue natale)

MrFoxMC avatar Jun 04 '22 20:06 MrFoxMC