__on_player_command事件仍然不能取消

This commit is contained in:
Harvey_Husky 2023-12-09 09:57:20 +08:00
parent 52f182a02f
commit 0b41cddbf8

View File

@ -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;
); );