1
0
Fork 0

Fix parameter name

This commit is contained in:
teknomunk 2024-06-14 18:53:03 -05:00 committed by the-real-herowl
parent 0a2336ad82
commit 304550d90c
1 changed files with 1 additions and 1 deletions

View File

@ -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