Update cmd_talk2public.lua

This commit is contained in:
acmgit 2022-04-14 11:52:52 +02:00 committed by GitHub
parent 2c1cf6b545
commit ab4aea9b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ end -- function
sc.registered_commands[cname] = function(player, parameter)
local pprivs = minetest.get_player_privs(player)
if not pprivs.interact and sc.cmd_talk2public then
if not pprivs.interact and sc.cmd_tp_needs_interact then
minetest.chat_send_player(player,sc.red .. S("Error - require 'interact' privilege."))
return