From 08924ee1a3c575e8645d0158738cf96758cbb4d7 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 1 Feb 2017 13:07:25 +0000 Subject: [PATCH] Rats and Bee's when caught return standard craftitem, not special egg --- bee.lua | 2 +- rat.lua | 2 +- 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)