From 187c4e7cdf964031e9d9fe6e3191a88dad5fbe27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=B6=E7=9A=93?= <1214946206@qq.com> Date: Sat, 7 Aug 2021 01:00:36 +0800 Subject: [PATCH] tagplayer2.5.0 --- tagplayer.sc | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/tagplayer.sc b/tagplayer.sc index 9b4ab07..c3775c3 100644 --- a/tagplayer.sc +++ b/tagplayer.sc @@ -10,7 +10,7 @@ __on_start() -> ( team_add('shadowedPlayer'); team_property('carpetBot', 'prefix', '假的'); team_property('shadowedPlayer', 'prefix', '挂机'); - global_version = '2.5.0'; + global_version = '2.4.0'; global_carpet_version = split('\\+v',system_info('scarpet_version')); global_require_carpet_version = ['1.4.30', 210331]; global_filename = system_info('app_name'); @@ -29,11 +29,11 @@ __config() -> { 'allow_command_conflicts' -> true, 'commands' -> { '' -> 'help', - ' ' -> 'tp', - ' ' -> 'tp_with_rotation', - ' ' -> 'tp_to_player', - ' atBot' -> 'tp_at_bot', - ' atBot' -> 'tp_at_bot_with_rotation', + 'tp ' -> 'tp', + 'tp ' -> 'tp_with_rotation', + 'tp ' -> 'tp_to_player', + 'tp atBot' -> 'tp_at_bot', + 'tp atBot' -> 'tp_at_bot_with_rotation', 'spawn ' -> ['summon',null,null,null], 'spawn at ' -> ['summon',null,null], 'spawn at facing ' -> ['summon',null], @@ -100,15 +100,6 @@ __config() -> { 'reload' -> 'reload' }, 'arguments' -> { - 'tp' -> { - 'type' -> 'term', - 'suggester' -> _(args) -> ( - if(global_config:'allow_bot_tp' == 'true', - return(['tp']); - ,(return(null)); - ); - ); - }, 'dimension' -> { 'type' -> 'term', 'suggest' -> ['overworld','the_nether','the_end']