[Bug] Memory Leak of Server Player on death
pietro-lopes opened this issue ยท 1 comments
Observed behaviour
Here is when SyncedSpellData is passed to new MagicData, but SyncedSpellData contains livingEntity, which (as it came from old) still refers to dead player, causing it to leak.
Expected behaviour
No leak
Steps to reproduce
Login,
/kill @s
check objects
Server Type
Single Player
Crashlog
No response
Iron's Spells N Spellbooks version
3.4.4
Forge version
21.1.12
Other mods
No response