Fixed typo

This commit is contained in:
tenplus1 2015-06-28 19:00:28 +01:00
parent 523d442d2a
commit abe2f5a330

View File

@ -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