完善更新模块

This commit is contained in:
延皓
2021-08-03 06:52:38 +08:00
parent 13ec1d9b9a
commit fd1543bce0
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#新版本号
data modify storage fz:survival newVersion set value [2,1,3,0]
data modify storage fz:survival newVersion set value [2,1,3,2]
execute if data storage fz:survival newVersion[3] run data modify storage fz:survival snapshot set value 1b
execute unless data storage fz:survival newVersion[3] run data remove storage fz:survival snapshot
##data remove storage fz:survival snapshot