summaryrefslogtreecommitdiff
path: root/pumpkin.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 /pumpkin.lua
parente6421d8d495c4415eeae80c7b1a2ce20d55e443d (diff)
Luacheck cleanups and .luacheckrc
Use `luacheck .` to run luacheck on this mod. Cleaned up luacheck errors.
Diffstat (limited to 'pumpkin.lua')
-rw-r--r--pumpkin.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/pumpkin.lua b/pumpkin.lua
index bf08374..1c1c3e0 100644
--- a/pumpkin.lua
+++ b/pumpkin.lua
@@ -143,7 +143,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")