mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fix copy error in remote_only
This commit is contained in:
@@ -82,7 +82,7 @@ authorities.character_only =
|
|||||||
--- If a command has the flag "remote_only" then the command can only be used inside of remote view
|
--- If a command has the flag "remote_only" then the command can only be used inside of remote view
|
||||||
authorities.remote_only =
|
authorities.remote_only =
|
||||||
add(function(player, command)
|
add(function(player, command)
|
||||||
if command.flags.character_only and player.controller_type ~= defines.controllers.remote then
|
if command.flags.remote_only and player.controller_type ~= defines.controllers.remote then
|
||||||
return deny{ "exp-commands-authorities.remote-only" }
|
return deny{ "exp-commands-authorities.remote-only" }
|
||||||
else
|
else
|
||||||
return allow()
|
return allow()
|
||||||
|
|||||||
Reference in New Issue
Block a user