Merge pull request 'Never show nitwit trading formspec' (#2466) from no-nitwit-trading into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2466 Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
This commit is contained in:
commit
7d57b3448a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user