From 097fc4f429bbe30f457ff463875e2ca923b115df Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 31 Mar 2020 18:25:30 +0200 Subject: [PATCH] Fix cactus nodebox to match texture perfectly --- mods/default/init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/default/init.lua b/mods/default/init.lua index b87f02d..868e8ba 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -307,17 +307,17 @@ minetest.register_node("default:cactus", { node_box = { type = "fixed", fixed = { - {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4}, - {-0.5, -0.5, 0.4, 0.5, 0.5, 0.4}, - {0.4, -0.5, -0.5, 0.4, 0.5, 0.5}, - {-0.5, -0.5, -0.4, 0.5, 0.5, -0.4}, - {-0.4, -0.5, -0.5, -0.4, 0.5, 0.5}, + {-7/16, -0.5, -7/16, 7/16, 0.5, 7/16}, + {-0.5, -0.5, 7/16, 0.5, 0.5, 7/16}, + {7/16, -0.5, -0.5, 7/16, 0.5, 0.5}, + {-0.5, -0.5, -7/16, 0.5, 0.5, -7/16}, + {-7/16, -0.5, -0.5, -7/16, 0.5, 0.5}, }, }, selection_box = { type = "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(),