Fix crash when farming plant tries to grow in rain

This commit is contained in:
Wuzzy 2019-09-05 18:58:31 +02:00
parent 3d9496ec56
commit 785e96c420

View File

@ -132,7 +132,7 @@ function farming.grow_plant(pos, name)
end end
if weather.weather == "storm" then if weather.weather == "storm" then
farming.next_stage(pos, under, underdefname, plant) farming.next_stage(pos, under, underdef, name, plant)
end end
end end