Fix incorrect privilege required (#2)

master
Lone_Wolf 2017-09-12 20:51:33 -07:00 committed by Elijah Duffy
parent 464581821d
commit 510293cf05
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ minetest.register_privilege("vanish", "Allow use of /vanish command")
minetest.register_chatcommand("vanish", {
description = "Make yourself or another player invisible",
params = "<name>",
privs = {invisibility=true},
privs = {vanish=true},
func = function(name, param)
if minetest.get_player_by_name(param) then
name = param