Closed Affehund closed 2 years ago
Thanks for bringing this issue to my attention. I opted for an alternative solution where I simply move the injection point further down, after yours. This is in order to avoid making expensive calls to find a totem when it isn't applicable to begin with. The newest version should allow the Void Totem to function properly now, let me know if this is still not the case.
Thank you very much! This solutions sounds very good!
This PR moves the
isByPassInvul
check inside the hasTotem check to fix a mod conflict with the void totem mod, which only fires if the player is in the void (usingcheckTotemDeathProtection
). Previous to this PR the void totem didn't work when the charm of undying mod is installed as it always canceled thecheckTotemDeathProtection
if the player suffers from damage in the void (isBypassInvul also means void damage). This PR now fixes this issue.Issue reference: Affehund/VoidTotem#17