So Many Enchants

So Many Enchants

308k Downloads

A few bugs. 1.19.2.

DigitalWendigo opened this issue ยท 0 comments

commented

Describe the bug
There are two noticeable bugs that I've managed to find.

  • The reach enchantment will randomly bug out, causing the player to have the effect even if the tool/weapon is not held. The most notable scenario when this happens, is after having dug for a long time with the X efficiency enchantment, and changing dimensions.
  • The several buff enchantments, like fire resistance, speed, jump, and other enchantments alike occasionally stop working for a few seconds, before the effect is re-activated once more by the resetting of the timer.

To Reproduce
Steps to reproduce the behavior for bug Nr.1:

  1. Enchant a tool with maximum reach, and maximum efficiency.
  2. Dig around for an hour or less, seems to be random.
  3. Switch tools or have none in hand after the session.
  4. Notice the reach of the player will remain as if the tool is still held.

Steps to reproduce the behavior for bug Nr.2:

  1. Enchant a full set of armor with various buffs, like fire resistance, speed, jump boost, ect.
  2. Walk around the world for a while and pay attention to, for example, the player's speed as that's the easiest to spot.
  3. Notice the player's speed occasionally not being boosted for a few seconds.
  4. After a few seconds, when the effect's timer is reset, the speed boost is added again.

Expected behavior

  • The reach enchantment to end its effect the moment the affected tool is no longer held.
  • For the buff effects to remain active indefinitely. (I would personally suggest applying an x duration, rather than a timer-based re-apply of the effect.)

Screenshots
Can't provide them, lest I make a whole video to show it.
I could make a video, if it is needed however.

Additional context
Here are both the regular Log file, and the Debug log for any potentially useful information.
debug.log
latest.log

Thanks for making this mod though!
The enchantments are actually really fun to play with!
Cheers.