support mc1.21;需要放弃支持mc1.20
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
## 将模块安装记录缓存,因为模块的卸载函数会覆盖该记录
|
||||
data modify storage fzsd:install fzsd.cache set from storage fzsd:install fzsd.module
|
||||
@@ -0,0 +1,5 @@
|
||||
## 标记为已卸载
|
||||
data modify storage fzsd:install fzsd.global set value 0b
|
||||
|
||||
## 日志
|
||||
tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "卸载完成!"}]
|
||||
@@ -0,0 +1,3 @@
|
||||
## 恢复模块安装记录
|
||||
data modify storage fzsd:install fzsd.module set from storage fzsd:install fzsd.cache
|
||||
data remove storage fzsd:install fzsd.cache
|
||||
@@ -0,0 +1,5 @@
|
||||
## 整数类型
|
||||
scoreboard objectives remove fzsd.variable.integer
|
||||
|
||||
## 清除缓存
|
||||
data remove storage fzsd:global fzsd
|
||||
Reference in New Issue
Block a user