fixed a few bits

master
crazyginger72 2014-08-25 17:05:14 -04:00
parent 1565673303
commit 37fe06d58f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function default.grow_tree(data, a, pos, is_apple_tree, seed)
for x_area = -2, 2 do
for y_area = -1, 2 do
for z_area = -2, 2 do
if math.random(1,30) < 23 then --randomize leaves
if math.random(1,30) < 23 then --randomize leaves
local area_l = a:index(pos.x+x_area, pos.y+hight+y_area-1, pos.z+z_area) --sets area for leaves
if data[area_l] == c_air or data[area_l] == c_ignore then --sets if not air or ignore
data[area_l] = c_leaves --add leaves now