Node: minor change
This commit is contained in:
@@ -72,6 +72,8 @@ function Node:new(nodeDef)
|
|||||||
local settings = nodeDef.settings
|
local settings = nodeDef.settings
|
||||||
settings._type = 'node'
|
settings._type = 'node'
|
||||||
|
|
||||||
|
local instance = Item:new(nodeDef) --[[@as Node]]
|
||||||
|
|
||||||
-- Registration of segmented blocks.
|
-- Registration of segmented blocks.
|
||||||
-- If you specify a specific group with a specific index for a node,
|
-- If you specify a specific group with a specific index for a node,
|
||||||
-- the slabs and stairs will be registered automatically.
|
-- the slabs and stairs will be registered automatically.
|
||||||
@@ -88,8 +90,6 @@ function Node:new(nodeDef)
|
|||||||
registerStair(nodeDef)
|
registerStair(nodeDef)
|
||||||
end
|
end
|
||||||
|
|
||||||
local instance = Item:new(nodeDef) --[[@as Node]]
|
|
||||||
|
|
||||||
return instance
|
return instance
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user