diff --git a/igor.lua b/igor.lua index f02f3cc..387194b 100644 --- a/igor.lua +++ b/igor.lua @@ -70,7 +70,7 @@ mobs:register_mob("mobs_npc:igor", { -- feed to heal npc if mobs:feed_tame(self, clicker, 8, false, true) then return end if mobs:protect(self, clicker) then return end - if mobs:capture_mob(self, clicker, 0, 5, 80, false, nil) then return end + if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end local item = clicker:get_wielded_item() local name = clicker:get_player_name() diff --git a/npc.lua b/npc.lua index 77cbbb1..071d2b5 100644 --- a/npc.lua +++ b/npc.lua @@ -67,7 +67,7 @@ mobs:register_mob("mobs_npc:npc", { if mobs:feed_tame(self, clicker, 8, true, true) then return end -- capture npc with net or lasso - if mobs:capture_mob(self, clicker, 0, 5, 80, false, nil) then return end + if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end -- protect npc with mobs:protector if mobs:protect(self, clicker) then return end diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..631f73b Binary files /dev/null and b/screenshot.png differ