这回对了

This commit is contained in:
Harvey_Husky 2024-01-11 19:07:04 +08:00
parent 39711d3e01
commit fd706b77bc

View File

@ -128,7 +128,7 @@ __on_close() -> (
write_file('team_cache', 'json', global_team_cache);
);
if(require_version('1.4.112'), // 新功能支持
if(require_version('1.4.999'), // 支持
__on_player_command(player, command) -> (
l = length(command);
if(l > 13
@ -199,8 +199,8 @@ reload_configs() -> (
global_config:'config_version' = '1.0.0'; // 占位用无实际作用
config_changed = true;
);
// 新功能支持
if(require_version('1.4.112') && !contains(global_config, 'allow_spawn_whitelist_player'),
// 支持
if(require_version('1.4.999') && !contains(global_config, 'allow_spawn_whitelist_player'),
global_config:'allow_spawn_whitelist_player' = false;
config_changed = true;
);