Fixed typo
This commit is contained in:
parent
523d442d2a
commit
abe2f5a330
2
api.lua
2
api.lua
@ -1333,7 +1333,7 @@ function mobs:capture_mob(self, clicker, chance_hand, chance_net, chance_lasso,
|
|||||||
minetest.chat_send_player(name, "Not owner!")
|
minetest.chat_send_player(name, "Not owner!")
|
||||||
end
|
end
|
||||||
|
|
||||||
if clicker:get_inventory():room_for_item("main", name) then
|
if clicker:get_inventory():room_for_item("main", mobname) then
|
||||||
-- was mob clicked with hand, net, or lasso?
|
-- was mob clicked with hand, net, or lasso?
|
||||||
local tool = clicker:get_wielded_item()
|
local tool = clicker:get_wielded_item()
|
||||||
local chance = 0
|
local chance = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user