SilentChaos512 / Silent-Gear

Modular tool/armor mod (formerly part of Silent's Gems)
https://www.curseforge.com/minecraft/mc-mods/silent-gear
MIT License
74 stars 34 forks source link

Hammer enchanted with Excavation from Ensorcellation mod causes game crash #650

Open Flabort opened 6 months ago

Flabort commented 6 months ago

Expected Behavior

Hammer enchanted with Excavation from Ensorcellation to break 5x5 area.

Actual Behavior

Game crashes, recursive error causing "java.lang.StackOverflowError", due to enchantment recursively triggering hammer to break blocks around the blocks broken by the enchantment, and then the enchantment breaking blocks around those broken by the hammer. Game does not save broken blocks, on reload only one block of the 9 originally supposed to be broken by the hammer without enchantment has been broken. I will crosspost issue to Ensorcellation github, assuming they have one.

Links/Images

Steps to Reproduce the Problem

  1. Create Silent Tools Hammer
  2. Enchant with Excavation
  3. Try to break blocks or ores with hammer