mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 18:20:20 +01:00
reverted egg changes
This commit is contained in:
parent
7b543fe1d7
commit
a964aa028d
4
api.lua
4
api.lua
@ -3153,13 +3153,13 @@ function mobs:register_egg(mob, desc, background, addegg, no_creative)
|
|||||||
mob:remove()
|
mob:remove()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
--[[
|
|
||||||
if ent.type ~= "monster" then
|
if ent.type ~= "monster" then
|
||||||
-- set owner and tame if not monster
|
-- set owner and tame if not monster
|
||||||
ent.owner = placer:get_player_name()
|
ent.owner = placer:get_player_name()
|
||||||
ent.tamed = true
|
ent.tamed = true
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
-- if not in creative then take item
|
-- if not in creative then take item
|
||||||
if not creative then
|
if not creative then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
|
Loading…
Reference in New Issue
Block a user