mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-10 12:20:29 +01:00
Fix LuaCheck warning
This commit is contained in:
parent
ee42eeee8d
commit
b42ab7c572
|
@ -172,7 +172,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields.drop and not (type(fields.drop) == "table") then
|
if fields.drop and (type(fields.drop) ~= "table") then
|
||||||
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
|
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user