summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index 05732c1..ed2deb7 100644
--- a/api.lua
+++ b/api.lua
@@ -3166,8 +3166,8 @@ function mobs:capture_mob(self, clicker, chance_hand, chance_net, chance_lasso,
local new_stack = ItemStack(mobname)
-- add special mob egg with all mob information
- -- unless 'force_take' is true for craftitems only
- if not force_take then
+ -- unless 'replacewith' contains new item to use
+ if not replacewith then
new_stack = ItemStack(mobname .. "_set")