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:
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user