forked from Apancore.Studio/simple-makes-complex
Item & Node: minor fixes
This commit is contained in:
@@ -101,7 +101,7 @@ function Item:getExtended(defaultDef)
|
||||
end
|
||||
|
||||
---Returns an instance of the `Factory` class that can be used to mass-register identical items.
|
||||
---@param defaultDef Item.ItemDefinition
|
||||
---@param defaultDef? Item.ItemDefinition
|
||||
---@return Factory
|
||||
function Item:getFactory(defaultDef)
|
||||
if defaultDef == nil then
|
||||
|
||||
@@ -31,7 +31,7 @@ function Node:getExtended(defaultDef)
|
||||
end
|
||||
|
||||
---Returns an instance of the `Factory` class that can be used to mass-register identical items.
|
||||
---@param defaultDef Node.NodeDefinition
|
||||
---@param defaultDef? Node.NodeDefinition
|
||||
---@return Factory
|
||||
function Node:getFactory(defaultDef)
|
||||
if defaultDef == nil then
|
||||
|
||||
Reference in New Issue
Block a user