这回对了
This commit is contained in:
parent
39711d3e01
commit
fd706b77bc
@ -128,7 +128,7 @@ __on_close() -> (
|
|||||||
write_file('team_cache', 'json', global_team_cache);
|
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) -> (
|
__on_player_command(player, command) -> (
|
||||||
l = length(command);
|
l = length(command);
|
||||||
if(l > 13
|
if(l > 13
|
||||||
@ -199,8 +199,8 @@ reload_configs() -> (
|
|||||||
global_config:'config_version' = '1.0.0'; // 占位用,无实际作用
|
global_config:'config_version' = '1.0.0'; // 占位用,无实际作用
|
||||||
config_changed = true;
|
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;
|
global_config:'allow_spawn_whitelist_player' = false;
|
||||||
config_changed = true;
|
config_changed = true;
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user