1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-11-26 02:05:36 +01: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

@@ -4,11 +4,6 @@ local version = "0.0.3"
local mname = "cavestuff"
-----------------------------------------------------------------------------------------------
-- support for i18n
local S = minetest.get_translator("cavestuff")
cavestuff = {}
dofile(minetest.get_modpath("cavestuff").."/nodes.lua")
dofile(minetest.get_modpath("cavestuff").."/mapgen.lua")

View File

@@ -32,7 +32,6 @@ minetest.register_node("cavestuff:pebble_2",{
mesh = "cavestuff_pebble.obj",
tiles = {"undergrowth_pebble.png"},
drop = "cavestuff:pebble_1",
tiles = {"undergrowth_pebble.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1},
@@ -100,7 +99,7 @@ minetest.register_node("cavestuff:stalactite_1",{
if not placer then return end
local playername = placer:get_player_name()
if minetest.is_protected(place, playername)
or minetest.is_protected(above, playername) then
or minetest.is_protected(above, playername) then
minetest.record_protection_violation(place, playername)
return
end