mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-11-13 22:10:17 +01:00
stackable eggs (default) do not tame mob on place
This commit is contained in:
parent
be008cf7b7
commit
7b543fe1d7
6
api.lua
6
api.lua
|
@ -1,5 +1,5 @@
|
|||
|
||||
-- Mobs Api (30th June 2017)
|
||||
-- Mobs Api (2nd July 2017)
|
||||
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
|
@ -3153,13 +3153,13 @@ function mobs:register_egg(mob, desc, background, addegg, no_creative)
|
|||
mob:remove()
|
||||
return
|
||||
end
|
||||
|
||||
--[[
|
||||
if ent.type ~= "monster" then
|
||||
-- set owner and tame if not monster
|
||||
ent.owner = placer:get_player_name()
|
||||
ent.tamed = true
|
||||
end
|
||||
|
||||
]]
|
||||
-- if not in creative then take item
|
||||
if not creative then
|
||||
itemstack:take_item()
|
||||
|
|
Loading…
Reference in New Issue
Block a user