summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-07-02 14:20:26 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-07-02 14:20:26 +0100
commita964aa028d462d66e50754c7eeef4519fa93d892 (patch)
tree11db36cae2a61e607e7f502bc6b0ed9f123c550e
parent7b543fe1d785de1325999909ec6e8173e019d97d (diff)
reverted egg changes
-rw-r--r--api.lua4
1 files 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()