1
0
Fork 0

[mcl_bucket] fix warnings

This commit is contained in:
AFCMS 2021-05-23 00:32:04 +02:00
parent 60736d04b8
commit 621a5a53a8
1 changed files with 2 additions and 2 deletions

View File

@ -10,12 +10,12 @@ local sound_place = function(itemname, pos)
end end
end end
local sound_take = function(itemname, pos) --[[local sound_take = function(itemname, pos)
local def = minetest.registered_nodes[itemname] local def = minetest.registered_nodes[itemname]
if def and def.sounds and def.sounds.dug then if def and def.sounds and def.sounds.dug then
minetest.sound_play(def.sounds.dug, {gain=1.0, pos = pos, pitch = 1 + math.random(-10, 10)*0.005}, true) minetest.sound_play(def.sounds.dug, {gain=1.0, pos = pos, pitch = 1 + math.random(-10, 10)*0.005}, true)
end end
end end]]
if mod_mcl_core then if mod_mcl_core then
-- Lava bucket -- Lava bucket