mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix parameter name
This commit is contained in:
parent
0a2336ad82
commit
304550d90c
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ end -- END mcl_mobs.register_mob function
|
||||||
|
|
||||||
|
|
||||||
local STRIP_FIELDS = { "mesh", "base_size", "textures", "base_mesh", "base_texture" }
|
local STRIP_FIELDS = { "mesh", "base_size", "textures", "base_mesh", "base_texture" }
|
||||||
function mcl_mobs.strip_staticdata(staticdata)
|
function mcl_mobs.strip_staticdata(unpacked_staticdata)
|
||||||
-- Strip select fields from the staticdata to prevent conversion issues
|
-- Strip select fields from the staticdata to prevent conversion issues
|
||||||
for i = 1,#STRIP_FIELDS do
|
for i = 1,#STRIP_FIELDS do
|
||||||
unpacked_staticdata[STRIP_FIELDS[i]] = nil
|
unpacked_staticdata[STRIP_FIELDS[i]] = nil
|
||||||
|
|
Loading…
Reference in a new issue