diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-27 14:00:57 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-27 14:00:57 +0100 |
commit | 8deab4025606e2469dc6d28b141abfe586531d70 (patch) | |
tree | 8fe7cf6e120124e36f2afc86466f2fb75adbeb2c /sheep.lua | |
parent | 7eb3bcb7f9d1bb83c0f76ef2728af07d25add52c (diff) |
protect/capture returns added
Diffstat (limited to 'sheep.lua')
-rw-r--r-- | sheep.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,10 +168,10 @@ for _, col in ipairs(all_colours) do end -- protect mod with mobs:protector item - mobs:protect(self, clicker) + if mobs:protect(self, clicker) then return end --are we capturing? - mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) + if mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) then return end end }) |