Fix broken enderman take sound

This commit is contained in:
Wuzzy 2017-08-22 13:52:49 +02:00
parent 28337b88c0
commit 1f8ae56d52

@ -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