mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-07-01 07:20:20 +02:00
Add Continuous Integration and LuaCheck (#71)
All warnings have been fixed as well.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
local skins_dir_list = minetest.get_dir_list(skins.modpath.."/textures")
|
||||
|
||||
for _, fn in pairs(skins_dir_list) do
|
||||
local name, sort_id, assignment, is_preview, playername
|
||||
local name, sort_id, is_preview, playername
|
||||
local nameparts = string.gsub(fn, "[.]", "_"):split("_")
|
||||
|
||||
-- check allowed prefix and file extension
|
||||
|
Reference in New Issue
Block a user