mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-04-04 05:11:27 +02:00
Add position to shield sound
This commit is contained in:
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user