add priv to /area_effect_stopsound

master
BuckarooBanzay 2020-06-13 10:59:39 +02:00
parent 168fb7b56a
commit bf75f834fd
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ end)
minetest.register_chatcommand("area_effect_stopsound", {
description = "Stops the current area effect sound for the given player",
privs = { areas = true },
func = function(_, playername)
if handles[playername] then
-- clear sound