Use correct variable name

This commit is contained in:
teknomunk 2024-06-12 06:31:06 -05:00
parent f743eb070a
commit c3383d5295
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ function mcl_mobs.register_conversion(old_name, new_name)
for i = 1,#STRIP_FIELDS do
unpacked_staticdata[STRIP_FIELDS[i]] = nil
end
staticdata = minetest.serialize(staticdata)
staticdata = minetest.serialize(unpacked_staticdata)
local old_object = self.object
if not old_object then return end