avoid reading from wold dir
This commit is contained in:
parent
ca1ddae449
commit
50e442c4ee
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user