This commit is contained in:
延皓 2021-08-03 07:08:35 +08:00
parent fd1543bce0
commit 4d7dbe3805

View File

@ -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:uninstall
#安装 #安装
function fz:install function fz:install
execute if data storage fz:cache installed{scoreboards: 0b} run function fz:scoreboards/uninstall execute if data storage fz:cache survival.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 survival.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 survival.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 survival.installed{health: 0b} run function fz:health/uninstall
execute if data storage fz:cache installed{config: 0b} run function fz:config/uninstall execute if data storage fz:cache survival.installed{config: 0b} run function fz:config/uninstall
data remove storage fz:cache installed data remove storage fz:cache survival.installed
#提示已安装 #提示已安装
tellraw @a {"text": "[信息]升级完成","color": "#5fff00"} tellraw @a {"text": "[信息]升级完成","color": "#5fff00"}