DreamWeave-MP / CoreScripts

The serverside Lua scripts used to implement core functionality in S3MP.
MIT License
0 stars 1 forks source link

Generated record enchantment fix #17

Closed VidiAquam closed 1 year ago

VidiAquam commented 1 year ago

Enchanting a generated record will cause that record to be eventually erased from the server's memory since it is no longer in the world, causing the baseId of the enchanted version to refer to an object that no longer exists.

This fixes that bug by ensuring that a record will never retain a generated baseId when it is created.