Safrodev / Archon

GNU General Public License v3.0
3 stars 8 forks source link

Fix Spells Deserialization #49

Closed KaptainWutax closed 5 months ago

KaptainWutax commented 5 months ago

The SpellComponent doesn't clean itself up when deserializing causing issues with mods that modify and re-write player data. The spell list ends up doubling in size every save until the server can't start anymore. This should resolve it. :)

Safrodev commented 5 months ago

Ah I didn't notice this, I thought I already did clear the spells list. Thanks!