1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-27 04:00:21 +02:00

fix most luacheck warnings

This commit is contained in:
OgelGames
2021-12-27 16:11:37 +11:00
parent 92325d69b3
commit 1a841dfba2
14 changed files with 8 additions and 38 deletions

View File

@ -65,7 +65,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
local brk = false
for i = 1, size-3 do
pos_aux.y = pos.y + i
local name = minetest.get_node(pos_aux).name
name = minetest.get_node(pos_aux).name
if not (name == "air" or (i == 1 and name == "ferns:sapling_giant_tree_fern")) then
brk = true
break

View File

@ -8,8 +8,6 @@ local mname = "ferns" -- former "archaeplantae"
abstract_ferns = {}
-- support for i18n
local S = minetest.get_translator("ferns")
dofile(minetest.get_modpath("ferns").."/settings.lua")