mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-10-31 22:05:23 +01:00 
			
		
		
		
	Fix LuaCheck warning (#198)
This commit is contained in:
		| @@ -172,7 +172,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam | ||||
| 		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 | ||||
| 	end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user