summaryrefslogtreecommitdiff
path: root/corn.lua
diff options
context:
space:
mode:
Diffstat (limited to 'corn.lua')
-rw-r--r--corn.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/corn.lua b/corn.lua
index 71afba2..cd0e272 100644
--- a/corn.lua
+++ b/corn.lua
@@ -128,8 +128,6 @@ minetest.register_abm({
if not minetest.get_node({x = pos.x, y = pos.y + 1, z = pos.z}).name == "air" then
return
end
- local meta = minetest.get_meta(pos)
- local water = meta:get_int("crops_water")
minetest.swap_node(pos, { name = "crops:corn_base_2" })
local above = {x = pos.x, y = pos.y + 1, z = pos.z}
minetest.set_node(above , { name = "crops:corn_top_1" })