EcoEnchants icon indicating copy to clipboard operation
EcoEnchants copied to clipboard

Sculk block bug - Eco Enchant causing it

Open DrSnowPengu opened this issue 2 years ago • 2 comments

Describe the bug There is a bug issue that had never been resolved in the old and new version of eco enchant as I was testing it. It somehow prevents sculk blocks from dropping EXP. I have did some testing and is directly coming from eco enchant. I had made a github post a long a while ago and it has not even been resolved now either. so please do fix it.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Breaking sculk block should give EXP.

Screenshots This need to be fixed -> https://gyazo.com/0ee1bf246c5f8d1efca6d5bccae31cad Here is what suppose to look like without eco/ecoenchant https://gyazo.com/034073aaaefeed36e980eba99bf77817

Server Information (please complete the following information):

  • Version: 1.19.2
  • Version of plugin and eco EcoEnchant: 9.2.0 and Eco: 6.43.7

Additional context

  • No console error either. But this does really need fixing.

DrSnowPengu avatar Oct 21 '22 18:10 DrSnowPengu

+1 for this.

nhanledev avatar Nov 10 '22 08:11 nhanledev

This bug is caused by the EnchantmentTelekinesis's BlockBreakEvent (https://github.com/Auxilor/EcoEnchants/blob/854ae5d69d3dca6cab227e71944c3cf62792850a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/impl/EnchantmentTelekinesis.kt#L61) does not have hasEnchantActive check.

nhanledev avatar Nov 16 '22 15:11 nhanledev