mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix irregular bone meal growth on grass block
This commit is contained in:
parent
2b4dc9fdfa
commit
5e4424713c
1 changed files with 2 additions and 2 deletions
|
@ -160,8 +160,8 @@ mcl_dye.apply_bone_meal = function(pointed_thing)
|
||||||
return true
|
return true
|
||||||
elseif n.name == "mcl_core:dirt_with_grass" or n.name == "mcl_core:dirt_with_grass_snow" then
|
elseif n.name == "mcl_core:dirt_with_grass" or n.name == "mcl_core:dirt_with_grass_snow" then
|
||||||
-- Grass Block: Generate tall grass and random flowers all over the place
|
-- Grass Block: Generate tall grass and random flowers all over the place
|
||||||
for i = -2, 3, 1 do
|
for i = -2, 2 do
|
||||||
for j = -3, 2, 1 do
|
for j = -2, 2 do
|
||||||
pos = pointed_thing.above
|
pos = pointed_thing.above
|
||||||
pos = {x=pos.x+i, y=pos.y, z=pos.z+j}
|
pos = {x=pos.x+i, y=pos.y, z=pos.z+j}
|
||||||
n = minetest.get_node(pos)
|
n = minetest.get_node(pos)
|
||||||
|
|
Loading…
Reference in a new issue