mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 16:45:10 +00: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)
|
||||
local def = minetest.registered_nodes[self._taken_node]
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue