forked from mtcontrib/mobs_redo
return func
This commit is contained in:
2
api.lua
2
api.lua
@ -4610,7 +4610,7 @@ if settings:get_bool("mobs_can_hear") ~= false then
|
|||||||
|
|
||||||
minetest.sound_play = function(spec, param, eph)
|
minetest.sound_play = function(spec, param, eph)
|
||||||
|
|
||||||
if type(spec) == "table" then return end
|
if type(spec) == "table" then return old_sound_play(spec, param, eph) end
|
||||||
|
|
||||||
local def = {} ; param = param or {}
|
local def = {} ; param = param or {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user