Fix irregular bone meal growth on grass block

This commit is contained in:
Wuzzy 2017-05-26 21:40:03 +02:00
parent 2b4dc9fdfa
commit 5e4424713c
1 changed files with 2 additions and 2 deletions

View File

@ -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)