forked from VoxeLibre/VoxeLibre
Add debug logging
This commit is contained in:
parent
c3383d5295
commit
2712eccf60
|
@ -352,6 +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
|
||||||
|
minetest.log("action", "Converting "..old_name.." to "..new_name.." staticdata="..dump(unpacked_staticdata))
|
||||||
staticdata = minetest.serialize(unpacked_staticdata)
|
staticdata = minetest.serialize(unpacked_staticdata)
|
||||||
|
|
||||||
local old_object = self.object
|
local old_object = self.object
|
||||||
|
|
Loading…
Reference in New Issue