diff options
author | Auke Kok <sofar@foo-projects.org> | 2016-10-18 09:33:30 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2016-10-18 09:33:30 -0700 |
commit | 3b6c0e5e782b0dc9935e9c9c363475c733bde92a (patch) | |
tree | 06dc292b19da6f6d64311dd0b1e2901c8ac8f37f /corn.lua | |
parent | e6421d8d495c4415eeae80c7b1a2ce20d55e443d (diff) |
Luacheck cleanups and .luacheckrc
Use `luacheck .` to run luacheck on this mod.
Cleaned up luacheck errors.
Diffstat (limited to 'corn.lua')
-rw-r--r-- | corn.lua | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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" }) |