add priv to /area_effect_stopsound
parent
168fb7b56a
commit
bf75f834fd
|
@ -78,6 +78,7 @@ end)
|
||||||
|
|
||||||
minetest.register_chatcommand("area_effect_stopsound", {
|
minetest.register_chatcommand("area_effect_stopsound", {
|
||||||
description = "Stops the current area effect sound for the given player",
|
description = "Stops the current area effect sound for the given player",
|
||||||
|
privs = { areas = true },
|
||||||
func = function(_, playername)
|
func = function(_, playername)
|
||||||
if handles[playername] then
|
if handles[playername] then
|
||||||
-- clear sound
|
-- clear sound
|
||||||
|
|
Loading…
Reference in New Issue