never show nitwit trading formspec

This commit is contained in:
cora 2022-07-19 11:46:28 +02:00
parent e03801d45d
commit 54337e9854

View File

@ -1295,7 +1295,7 @@ mcl_mobs:register_mob("mobs_mc:villager", {
--minetest.log("arrived at jobsite") --minetest.log("arrived at jobsite")
end) end)
end end
if self.child or self._profession == "unemployed" then if self.child or self._profession == "unemployed" or self._profession == "nitwit" then
return return
end end
-- Initiate trading -- Initiate trading