npc_talk:npc now available without skinsdb

This commit is contained in:
Sokomine 2024-01-25 22:33:12 +01:00
parent 1149193f5b
commit 1266525ff0

View File

@ -88,7 +88,7 @@ npc_talk.enable_talk_to_example_npc = function()
end
-- we need a suitable mesh and skins from somewhere
if(minetest.get_modpath("mobs") and minetest.get_modpath("skinsdb")) then
if(minetest.get_modpath("mobs")) then
-- register the NPC once
npc_talk.register_example_npc()
-- make sure it gets called once now and in the future whenever yl_speak_up is reloaded