avoid reading from wold dir

This commit is contained in:
Sokomine 2024-03-24 02:47:08 +01:00
parent ca1ddae449
commit 50e442c4ee

View File

@ -8,6 +8,10 @@ local function read_skins_and_capes_from_folders()
-- get the files out of modpath
local mp_list = minetest.get_dir_list(minetest.get_modpath("npc_talk") .. DIR_DELIM .. "textures", false)
-- accessing the worlddir seems sometimes problematic
if(true) then
return mp_list
end
-- get the files out of worlddir
local wp_list =