This commit is contained in:
runs 2020-05-18 01:01:45 +02:00
parent e284a46abb
commit 15235029b9
2 changed files with 19 additions and 1 deletions

19
.luacheckrc Normal file
View File

@ -0,0 +1,19 @@
unused_args = false
allow_defined_top = true
globals = {
"minetest",
"mobkit"
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
-- Builtin
"vector", "ItemStack",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
-- MTG
"default", "sfinv", "creative",
}

View File

@ -2,7 +2,6 @@ jonez = {}
--Variables
local modname = "jonez"
local modpath = minetest.get_modpath(modname)
local S = minetest.get_translator(minetest.get_current_modname())
function firstToUpper(str)