ItemFactory: minor fix

This commit is contained in:
Van
2025-10-09 21:27:19 +03:00
parent 2ef2bb14ba
commit 2bdc874b7d

View File

@@ -23,7 +23,7 @@ local defMerge = function(...)
end end
---@param itemDefs Item.ItemDefinition[]|Node.NodeDefinition[] List of nodes with parameters unique to them. ---@param itemDefs Item.ItemDefinition[]|Node.NodeDefinition[] List of nodes with parameters unique to them.
---@param addModName boolean Whether to add the mod name to the settings.name. Default: `true` ---@param addModName boolean? Whether to add the mod name to the settings.name. Default: `true`
function ItemFactory:registerItems(itemDefs, addModName) function ItemFactory:registerItems(itemDefs, addModName)
if addModName == nil then if addModName == nil then
addModName = true addModName = true