Skip to content

Commit

Permalink
add priv to /area_effect_stopsound
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 13, 2020
1 parent 168fb7b commit bf75f83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integrations/soundblock.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf75f83

Please sign in to comment.