1
0
Fork 0

Add position to shield sound

This commit is contained in:
PrairieWind 2023-04-10 21:10:54 -06:00 committed by Gitea
parent 5165730da8
commit f8d338d731
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ mcl_damage.register_modifier(function(obj, damage, reason)
mcl_inventory.update_inventory_formspec(obj) mcl_inventory.update_inventory_formspec(obj)
end end
end end
minetest.sound_play({name = "mcl_block"}, {max_hear_distance = 16}) minetest.sound_play({name = "mcl_block"}, {pos = obj:get_pos(), max_hear_distance = 16})
return 0 return 0
end) end)