mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Fix cactus definition
This commit is contained in:
parent
de5f3d5618
commit
6dbce33373
@ -66,7 +66,7 @@ grow_cactus = function(pos, node)
|
||||
height = height+1
|
||||
pos.y = pos.y+1
|
||||
end
|
||||
if height < 4 then
|
||||
if height < 3 then
|
||||
if minetest.get_node(pos).name == "air" then
|
||||
minetest.set_node(pos, {name="default:cactus"})
|
||||
end
|
||||
|
@ -882,7 +882,7 @@ minetest.register_node("default:cactus", {
|
||||
tiles = {"default_cactus_top.png", "default_cactus_bottom.png", "default_cactus_side.png","default_cactus_side.png","default_cactus_side.png","default_cactus_side.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {snappy=1,choppy=3,flammable=2},
|
||||
groups = {oddly_breakable_by_hand=2,},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
|
Loading…
Reference in New Issue
Block a user