summaryrefslogtreecommitdiff
path: root/melon.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2016-10-18 09:33:30 -0700
committerAuke Kok <sofar@foo-projects.org>2016-10-18 09:33:30 -0700
commit3b6c0e5e782b0dc9935e9c9c363475c733bde92a (patch)
tree06dc292b19da6f6d64311dd0b1e2901c8ac8f37f /melon.lua
parente6421d8d495c4415eeae80c7b1a2ce20d55e443d (diff)
Luacheck cleanups and .luacheckrc
Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors.
Diffstat (limited to 'melon.lua')
-rw-r--r--melon.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/melon.lua b/melon.lua
index 66efc03..7043ad3 100644
--- a/melon.lua
+++ b/melon.lua
@@ -149,7 +149,6 @@ minetest.register_abm({
if not crops.can_grow(pos) then
return
end
- local meta = minetest.get_meta(pos)
local n = string.gsub(node.name, "4", "5")
n = string.gsub(n, "3", "4")
n = string.gsub(n, "2", "3")