From a964aa028d462d66e50754c7eeef4519fa93d892 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 2 Jul 2017 14:20:26 +0100 Subject: [PATCH] reverted egg changes --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index f49fc6e..03dc0e8 100644 --- a/api.lua +++ b/api.lua @@ -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()