Item & Node: minor fixes

This commit is contained in:
Van
2025-09-22 18:04:16 +00:00
parent 6fadcf1c8d
commit 8495cb0e79
2 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ 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
---@return Factory
---@param defaultDef? Node.NodeDefinition
---@return Factory
function Node:getFactory(defaultDef)
if defaultDef == nil then
defaultDef = self.defaultDef