Fix cactus nodebox to match texture perfectly

This commit is contained in:
Wuzzy 2020-03-31 18:25:30 +02:00
parent 022df6a806
commit 097fc4f429
1 changed files with 6 additions and 6 deletions

View File

@ -307,17 +307,17 @@ minetest.register_node("default:cactus", {
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-0.4, -0.5, -0.4, 0.4, 0.5, 0.4}, {-7/16, -0.5, -7/16, 7/16, 0.5, 7/16},
{-0.5, -0.5, 0.4, 0.5, 0.5, 0.4}, {-0.5, -0.5, 7/16, 0.5, 0.5, 7/16},
{0.4, -0.5, -0.5, 0.4, 0.5, 0.5}, {7/16, -0.5, -0.5, 7/16, 0.5, 0.5},
{-0.5, -0.5, -0.4, 0.5, 0.5, -0.4}, {-0.5, -0.5, -7/16, 0.5, 0.5, -7/16},
{-0.4, -0.5, -0.5, -0.4, 0.5, 0.5}, {-7/16, -0.5, -0.5, -7/16, 0.5, 0.5},
}, },
}, },
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-0.4, -0.5, -0.4, 0.4, 0.5, 0.4}, {-7/16, -0.5, -7/16, 7/16, 0.5, 7/16},
}, },
}, },
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),