mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Fix broken enderman take sound
This commit is contained in:
parent
28337b88c0
commit
1f8ae56d52
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
||||||
-- TODO: Update enderman model (enderman holding block)
|
-- TODO: Update enderman model (enderman holding block)
|
||||||
local def = minetest.registered_nodes[self._taken_node]
|
local def = minetest.registered_nodes[self._taken_node]
|
||||||
if def.sounds and def.sounds.dug then
|
if def.sounds and def.sounds.dug then
|
||||||
minetest.sound_play(def.sounds.dug, {pos = place_pos, max_hear_distance = 16})
|
minetest.sound_play(def.sounds.dug, {pos = take_pos, max_hear_distance = 16})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue