From 3b6c0e5e782b0dc9935e9c9c363475c733bde92a Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 18 Oct 2016 09:33:30 -0700 Subject: Luacheck cleanups and .luacheckrc Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors. --- corn.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'corn.lua') 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" }) -- cgit v1.2.3