1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-27 23:10:33 +02:00

Fix crash with moretrees

This commit is contained in:
LeMagnesium 2015-08-18 15:00:15 +02:00
parent 9ea6923dc1
commit 8a63cb3792

View File

@ -220,6 +220,9 @@ moretrees.ct_rules_a2 = "FF[FF][&&-FBF][&&+FBF][&&---FBF][&&+++FBF]F/A"
moretrees.ct_rules_b2 = "[-fB][+fB]"
function moretrees.grow_jungletree(pos)
if not pos or not pos.x or not pos.y or not pos.z then
return
end --//MFF(Mg|08/18/15)
local r1 = math.random(2)
local r2 = math.random(3)
if r1 == 1 then