Add position to shield sound
parent
5165730da8
commit
f8d338d731
|
@ -164,7 +164,7 @@ mcl_damage.register_modifier(function(obj, damage, reason)
|
|||
mcl_inventory.update_inventory_formspec(obj)
|
||||
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
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue