summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bee.lua2
-rw-r--r--rat.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/bee.lua b/bee.lua
index d187874..ce9709d 100644
--- a/bee.lua
+++ b/bee.lua
@@ -37,7 +37,7 @@ mobs:register_mob("mobs_animal:bee", {
walk_end = 65,
},
on_rightclick = function(self, clicker)
- mobs:capture_mob(self, clicker, 25, 80, 0, true, nil)
+ mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:bee")
end,
})
diff --git a/rat.lua b/rat.lua
index 8322cb2..47dccdf 100644
--- a/rat.lua
+++ b/rat.lua
@@ -29,7 +29,7 @@ mobs:register_mob("mobs_animal:rat", {
light_damage = 0,
fear_height = 2,
on_rightclick = function(self, clicker)
- mobs:capture_mob(self, clicker, 25, 80, 0, true, nil)
+ mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:rat")
end,
--[[
do_custom = function(self, dtime)