From 50e442c4ee359c746d8c3eca7428a422847251c7 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 24 Mar 2024 02:47:08 +0100 Subject: [PATCH] avoid reading from wold dir --- add_skins_and_capes.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/add_skins_and_capes.lua b/add_skins_and_capes.lua index 3c2f3fb..734108c 100644 --- a/add_skins_and_capes.lua +++ b/add_skins_and_capes.lua @@ -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 =