From 26ec61ee298da28b8c0bfb4d2bda9ce6daf10eee Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 20 Sep 2021 10:49:19 +0100 Subject: [PATCH] lasso can pick up animal babies --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index 9549245..a41f910 100644 --- a/api.lua +++ b/api.lua @@ -8,7 +8,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20210905", + version = "20210920", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -4474,7 +4474,7 @@ end function mobs:capture_mob(self, clicker, chance_hand, chance_net, chance_lasso, force_take, replacewith) - if self.child + if not self --self.child or not clicker:is_player() or not clicker:get_inventory() then return false