diff options
author | Auke Kok <sofar@foo-projects.org> | 2015-11-25 23:57:23 -0800 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2015-11-25 23:57:23 -0800 |
commit | af91e433ec9c8afc9b203d98bc54ad77940d898b (patch) | |
tree | 53c4168cf5e074479049026f1dc18f6d91df671e | |
parent | f60d5c34c892f742f6974b04827d3501a157c3aa (diff) |
Typo...
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |