mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
Use correct variable name
This commit is contained in:
parent
d64ee18f75
commit
41032ec999
@ -352,7 +352,7 @@ function mcl_mobs.register_conversion(old_name, new_name)
|
|||||||
for i = 1,#STRIP_FIELDS do
|
for i = 1,#STRIP_FIELDS do
|
||||||
unpacked_staticdata[STRIP_FIELDS[i]] = nil
|
unpacked_staticdata[STRIP_FIELDS[i]] = nil
|
||||||
end
|
end
|
||||||
staticdata = minetest.serialize(staticdata)
|
staticdata = minetest.serialize(unpacked_staticdata)
|
||||||
|
|
||||||
local old_object = self.object
|
local old_object = self.object
|
||||||
if not old_object then return end
|
if not old_object then return end
|
||||||
|
Loading…
Reference in New Issue
Block a user