mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed other errors
This commit is contained in:
@@ -30,7 +30,7 @@ Event.on_nth_tick(config.update_time, function()
|
||||
-- Check for active players
|
||||
for _, player in ipairs(game.connected_players) do
|
||||
if player.afk_time < config.afk_time
|
||||
or config.admin_as_active and config.player.admin
|
||||
or config.admin_as_active and player.admin
|
||||
or config.trust_as_active and player.online_time > config.trust_time
|
||||
or config.active_role and Roles.player_has_role(player, config.active_role) then
|
||||
-- Active player was found
|
||||
|
||||
Reference in New Issue
Block a user