Some tweaks

This commit is contained in:
Jean-Patrick Guerrero
2022-08-08 22:09:39 +02:00
parent 7e7422def7
commit 60e21627e1
6 changed files with 7 additions and 4 deletions

View File

@ -119,7 +119,8 @@ if core.global_exists"armor" then
if check_group(def, group) and i ~= j then
armor_inv:set_stack("armor", i, armor_inv:get_stack("armor", j))
armor_inv:set_stack("armor", j, stack)
return play_sound(name, "i3_cannot", 0.8)
return play_sound(player:get_player_name(), "i3_cannot", 0.8)
end
end
end