From 4d7dbe3805dad8e9e43791f90786981426b03a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=B6=E7=9A=93?= <1214946206@qq.com> Date: Tue, 3 Aug 2021 07:08:35 +0800 Subject: [PATCH] 2.1.3 --- data/fz/functions/start/update.mcfunction | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data/fz/functions/start/update.mcfunction b/data/fz/functions/start/update.mcfunction index 0c20173..83c41cd 100644 --- a/data/fz/functions/start/update.mcfunction +++ b/data/fz/functions/start/update.mcfunction @@ -1,13 +1,13 @@ -data modify storage fz:cache installed set from storage fz:survival installed +data modify storage fz:cache survival.installed set from storage fz:survival installed #卸载 function fz:uninstall #安装 function fz:install -execute if data storage fz:cache installed{scoreboards: 0b} run function fz:scoreboards/uninstall -execute if data storage fz:cache installed{sweeper: 0b} run function fz:sweeper/uninstall -execute if data storage fz:cache installed{logintips: 0b} run function fz:login/logintips/uninstall -execute if data storage fz:cache installed{health: 0b} run function fz:health/uninstall -execute if data storage fz:cache installed{config: 0b} run function fz:config/uninstall -data remove storage fz:cache installed +execute if data storage fz:cache survival.installed{scoreboards: 0b} run function fz:scoreboards/uninstall +execute if data storage fz:cache survival.installed{sweeper: 0b} run function fz:sweeper/uninstall +execute if data storage fz:cache survival.installed{logintips: 0b} run function fz:login/logintips/uninstall +execute if data storage fz:cache survival.installed{health: 0b} run function fz:health/uninstall +execute if data storage fz:cache survival.installed{config: 0b} run function fz:config/uninstall +data remove storage fz:cache survival.installed #提示已安装 tellraw @a {"text": "[信息]升级完成","color": "#5fff00"} \ No newline at end of file