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