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