Auxilor / libreforge

Powerful yaml-based 'scripting' library for spigot
https://plugins.auxilor.io/effects/configuring-an-effect
Other
55 stars 51 forks source link

cancel_event effect bug #15

Closed LuluxClient closed 2 years ago

LuluxClient commented 2 years ago

Describe the bug A clear and concise description of what the bug is. When using the cancel_event with the mine_block or the mine_block_progress it is not stopping me from breaking a block and I cannot add a filter with ecoenchants To Reproduce Steps to reproduce the behavior:

  1. go to customenchants.yml
  2. copypaste this: https://pastebin.com/J40Ktk41
  3. do /ecoenchants reload
  4. grab a pickaxe and do /enchants toucher_de_druse 1
  5. mine a budding amethyst block or any block

Expected behavior it should prevent me from breaking the block

Screenshots none

Server Information (please complete the following information):

eco version 6.24.1

Additional context It would be cool to add everything with the cancel event so we could cancel stuff such as EAT so prevent players to eat something or USE to prevent players to use totems or swords etc

WillFP commented 2 years ago

Should be fixed in next version