diff --git a/fs_fashion.lua b/fs_fashion.lua index 9c75e40..71376c0 100644 --- a/fs_fashion.lua +++ b/fs_fashion.lua @@ -16,6 +16,11 @@ yl_speak_up.get_mesh = function(pname) if(not(entity)) then return "error" end + -- mobs_redo stores it extra; other mob mods may not + if(not(entity.mesh) and entity.name + and minetest.registered_entities[entity.name]) then + return minetest.registered_entities[entity.name].mesh + end return entity.mesh end