Typo...
This commit is contained in:
parent
f60d5c34c8
commit
af91e433ec
2
init.lua
2
init.lua
@ -105,7 +105,7 @@ crops.plant = function(pos, node)
|
||||
minetest.set_node(pos, node)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local plant = find_plant(node)
|
||||
meta:set_int("crops_water", max(plant.properties.waterstart, 1))
|
||||
meta:set_int("crops_water", math.max(plant.properties.waterstart, 1))
|
||||
meta:set_int("crops_damage", 0)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user