forked from mtcontrib/mobs_animal
Rats and Bee's when caught return standard craftitem, not special egg
This commit is contained in:
parent
6be32681f1
commit
08924ee1a3
2
bee.lua
2
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,
|
||||
})
|
||||
|
||||
|
2
rat.lua
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user