1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-25 03:00:23 +02:00

cleanup codebase

This commit is contained in:
Niklp09
2023-07-10 18:49:34 +02:00
parent d9782771c3
commit 6212e52539
97 changed files with 195 additions and 862 deletions

View File

@ -84,8 +84,8 @@ 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
if not (name == "air" or (i == 1 and name == "ferns:sapling_giant_tree_fern")) then
local nodename = minetest.get_node(pos_aux).name
if not (nodename == "air" or (i == 1 and nodename == "ferns:sapling_giant_tree_fern")) then
brk = true
break
end