Spellbound Enchantments [Fabric]

Spellbound Enchantments [Fabric]

544k Downloads

Disabling hearty enchantment ticking when it's disabled.

Rad586 opened this issue ยท 1 comments

commented

1.18.2 fabric, spellbound 1.9.1
Spark profiler reported that net.tigereye.spellbound.enchantments.protection.HeartyEnchantment.onTickAlways() is negatively affecting performance while I had already disabled the hearty enchantment.
I guess it would be more performance-friendly to stop ticking when the hearty enchantment was disabled.

commented

Closed as moot; Hearty no longer uses a global tick as I have found a better way to detect and handle the stat change.