summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-05-09 23:15:08 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-05-09 23:15:08 -0700
commit6c32b3c6c1e41f010d560617eed31075a92370d3 (patch)
tree96a2136492a52f1a8c8c724a0732bf06670afe71
parentc33ff695c010b211845fb642532eb4a98736d585 (diff)
Fix corn withering - wrong node name here broke it
-rw-r--r--corn.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/corn.lua b/corn.lua
index 5108178..467eff6 100644
--- a/corn.lua
+++ b/corn.lua
@@ -319,7 +319,7 @@ minetest.register_node("crops:corn_top_4", {
})
crops.corn_die = function(pos)
- minetest.set_node(pos, { name = "crops:corn_base_4" })
+ minetest.set_node(pos, { name = "crops:corn_base_3" })
local above = {x = pos.x, y = pos.y + 1, z = pos.z}
minetest.set_node(above, { name = "crops:corn_top_4" })
end