summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-07-02 14:02:22 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-07-02 14:02:22 +0100
commit7b543fe1d785de1325999909ec6e8173e019d97d (patch)
tree126d4cdd52ff4c597a0b28b5fca264f1f87b86bf
parentbe008cf7b75af94a6e96633401151dddf9c2402b (diff)
stackable eggs (default) do not tame mob on place
-rw-r--r--api.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/api.lua b/api.lua
index 984c2a8..f49fc6e 100644
--- a/api.lua
+++ b/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()