make handcuffs take away shout, and interact not show interact quiz to non-shout players
This commit is contained in:
parent
8a144a31e9
commit
94950a8a02
2
init.lua
2
init.lua
@ -265,7 +265,7 @@ minetest.register_chatcommand("rules",{
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
local name = player:get_player_name()
|
||||
local language = rule_language[name] or interact.default_language
|
||||
if not minetest.get_player_privs(name).interact then
|
||||
if not minetest.get_player_privs(name).interact and minetest.check_player_privs(name, interact.priv) then
|
||||
if interact.screen1 ~= false then
|
||||
minetest.show_formspec(name, "interact_welcome", make_formspec(player, language))
|
||||
elseif interact.screen2 ~= false then
|
||||
|
Loading…
Reference in New Issue
Block a user