Fireworks On Repsawn
SomewhatDamaged opened this issue ยท 5 comments
Describe the bug
Massive amount of fireworks go off when you die and respawn.
Expected behavior
My death to not be celebrated quite so much.
To Reproduce
Steps to reproduce the behavior:
- Get some levels
- Sudoku
- See error
Versions:
1.20.1 (massive amount)
1.19.4 (one firework)
1.19.2 (one firework)
1.18.2 (no fireworks)
linking the xp rework since i'm certain that will involve testing and fixing the level-up issues..
Unlinking since i think the xp refactor is going to have to be a 1.21 feature. In any case, the logic that is firing these extra fireworks is intended to reapply attributes after a player dies. since attributes don't persist death, the only way to give back the extra hearts, damage, speed, etc from leveling up is to trigger a skillup event on respawn. Naturally this fires the fireworks as well. I need to find a way to not have fireworks proc, but that might not be possible.
those silly number puzzles do indeed make me unalive myself, but yes this is easily repeatable and can cause quite a lot of lag also noticed it does it on world join aswell sometimes