Rename local to node_box_full_node and fix formatting
This commit is contained in:
parent
d6d47b2d4c
commit
5e2c9c1915
7
init.lua
7
init.lua
|
@ -31,9 +31,10 @@ local node_box_bushy_leaves = {
|
|||
{ -4/16,-12/16, 0/16, 4/16, 12/16, 0/16 },
|
||||
},
|
||||
}
|
||||
local node_box_one_node = {
|
||||
|
||||
local node_box_full_node = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
|
||||
fixed = { -8/16, -8/16, -8/16, 8/16, 8/16, 8/16 },
|
||||
}
|
||||
|
||||
local get_node_box = function(node_name, node_def)
|
||||
|
@ -43,7 +44,7 @@ local get_node_box = function(node_name, node_def)
|
|||
string.match(node_name, "needles")
|
||||
) then
|
||||
node_box = node_box_bushy_leaves
|
||||
collision_box = node_box_one_node
|
||||
collision_box = node_box_full_node
|
||||
end
|
||||
return node_box
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue