Change the selection_box of bush stems (#1733)
authorcx384 <muelladresse84@web.de>
Sat, 13 May 2017 10:49:04 +0000 (12:49 +0200)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 13 May 2017 10:49:04 +0000 (12:49 +0200)
This is needed because you can't place a node above a bush stem when you are pointing at the bush stem.

mods/default/nodes.lua

index a1da9216afa4244f81bf8e056808af5561bcf926..76e88afd03a359ee06d6f4fc25f1828929994fc5 100644 (file)
@@ -1320,7 +1320,7 @@ minetest.register_node("default:bush_stem", {
        sounds = default.node_sound_wood_defaults(),
        selection_box = {
                type = "fixed",
-               fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.54, 7 / 16},
+               fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.5, 7 / 16},
        },
 })
 
@@ -1391,7 +1391,7 @@ minetest.register_node("default:acacia_bush_stem", {
        sounds = default.node_sound_wood_defaults(),
        selection_box = {
                type = "fixed",
-               fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.54, 7 / 16},
+               fixed = {-7 / 16, -0.5, -7 / 16, 7 / 16, 0.5, 7 / 16},
        },
 })