1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-15 22:30:43 +02:00

cleanup codebase (#46)

* cleanup codebase

* fix typo

* add nil checks to on_place

* nuke all mod loaded statements
This commit is contained in:
Niklp
2023-07-11 00:24:25 +02:00
committed by GitHub
parent d9782771c3
commit c7f65aac83
98 changed files with 200 additions and 877 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