diff --git a/scripts/fzsd_score.sc b/scripts/fzsd_score.sc index b687697..56d3f2e 100644 --- a/scripts/fzsd_score.sc +++ b/scripts/fzsd_score.sc @@ -43,7 +43,6 @@ global_current_scoreboard_list = [ 'fzsd.module.scoreboard.display.aviating_distance', 'fzsd.module.scoreboard.display.placement_count' ]; -global_server_whitelist_cache = null; __config() -> { 'scope' -> 'global', @@ -184,10 +183,7 @@ __on_player_disconnects(player, reason) -> ( // 获取服务器白名单 get_server_whitelist() -> ( - if(global_server_whitelist_cache == null, - global_server_whitelist_cache = keys(system_info('server_whitelist')); - ); - return(global_server_whitelist_cache); + return(keys(system_info('server_whitelist'))); ); // 重载配置文件