1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-21 17:20:31 +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

@ -475,8 +475,6 @@ end
if Roots == true then -- see settings.txt
abstract_trunks.grow_roots = function(pos)
local twig_size = math.random(1,27)
local right_here = {x=pos.x , y=pos.y , z=pos.z }
local below = {x=pos.x , y=pos.y-1, z=pos.z }
local north = {x=pos.x , y=pos.y , z=pos.z+1}

View File

@ -7,9 +7,6 @@ local mname = "trunks"
abstract_trunks = {}
-- support for i18n
local S = minetest.get_translator("trunks")
dofile(minetest.get_modpath("trunks").."/trunks_settings.txt")
dofile(minetest.get_modpath("trunks").."/generating.lua")
dofile(minetest.get_modpath("trunks").."/nodes.lua")

View File

@ -45,7 +45,7 @@ for i in pairs(NoDe) do
if not placer then return end
local playername = placer:get_player_name()
if minetest.is_protected(pt.above, playername) then
if minetest.is_protected(pt.above, playername) then
minetest.record_protection_violation(pt.above, playername)
return
end