Malum

Malum

2M Downloads

Active rite effects stop on world load until the totem is deactivated and then reactivated

ExaltedZoro opened this issue ยท 0 comments

commented

I would make a pull request for this but tbh I still don't know my way around github well enough to do that so I'll just put it here.

If a totem is active when a world is loaded, then the effect that it's supposed to have won't start triggering again until it's been manually reactivated. This is because in the load method for the TotemBaseBlockEntity, progress is pulled from the compoundtag twice (in the 1.18.2 branch it's lines 165 and 175). I've tried a mixin in my own mod to get rid of the line 165 one and it seems to fix it perfectly. I have no idea why the progress being pulled twice causes it to break but that's what it seems to do.

Hope this helps :)