summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-05-07 23:08:53 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-05-07 23:08:53 -0700
commitbcf27ebd99a3826982fd40da2981f7f459ee5205 (patch)
tree41d734ad364bcda30aa4ed0e6ccf7c91475ca1ae /init.lua
parent50420edd7718ae49980584f3a094635815bb3f34 (diff)
Fix a few errors exposed by difficult setting.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 43b2f9f..f9400ed 100644
--- a/init.lua
+++ b/init.lua
@@ -348,7 +348,7 @@ minetest.register_abm({
-- is it dead?
if damage >= 100 then
- plant.properties.wither(pos)
+ plant.properties.die(pos)
end
end
})