Merge pull request 'Never show nitwit trading formspec' (#2466) from no-nitwit-trading into master
Reviewed-on: MineClone2/MineClone2#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")
|
||||
end)
|
||||
end
|
||||
if self.child or self._profession == "unemployed" then
|
||||
if self.child or self._profession == "unemployed" or self._profession == "nitwit" then
|
||||
return
|
||||
end
|
||||
-- Initiate trading
|
||||
|
|
Loading…
Reference in New Issue