fix #I5FJOG
This commit is contained in:
parent
26c52e4292
commit
fe9bba8368
@ -2,7 +2,7 @@
|
|||||||
#允许玩家操作config记分板
|
#允许玩家操作config记分板
|
||||||
scoreboard players enable @a config
|
scoreboard players enable @a config
|
||||||
#每条子函数都要reset config分数和function fz:config/display
|
#每条子函数都要reset config分数和function fz:config/display
|
||||||
execute if data storage fz.installed {sweeper: 1b} as @a if score @s config matches 1478966200..1478966217 run function fz:sweeper/config/trigger
|
execute if data storage fz:survival installed{sweeper: 1b} as @a if score @s config matches 1478966200..1478966217 run function fz:sweeper/config/trigger
|
||||||
execute if data storage fz.installed {scoreboards: 1b} as @a if score @s config matches 1838019368..1838019379 run function fz:scoreboards/config
|
execute if data storage fz:survival installed{scoreboards: 1b} as @a if score @s config matches 1838019368..1838019379 run function fz:scoreboards/config
|
||||||
#循环执行本函数
|
#循环执行本函数
|
||||||
schedule function fz:config/main 1t
|
schedule function fz:config/main 1t
|
@ -5,6 +5,7 @@ scoreboard players reset @s config
|
|||||||
execute unless data storage fz.config {is_open: 1b} run function fz:config/main
|
execute unless data storage fz.config {is_open: 1b} run function fz:config/main
|
||||||
execute unless data storage fz.config {is_open: 1b} run scoreboard objectives add openingConfig dummy
|
execute unless data storage fz.config {is_open: 1b} run scoreboard objectives add openingConfig dummy
|
||||||
execute unless data storage fz.config {is_open: 1b} run data merge storage fz.config {is_open: 1b}
|
execute unless data storage fz.config {is_open: 1b} run data merge storage fz.config {is_open: 1b}
|
||||||
|
schedule function fz:config/timeout 300s replace
|
||||||
#将该玩家加入打开设置页面的玩家的列表
|
#将该玩家加入打开设置页面的玩家的列表
|
||||||
scoreboard players set @s openingConfig 1
|
scoreboard players set @s openingConfig 1
|
||||||
#将设置内容输出给玩家
|
#将设置内容输出给玩家
|
||||||
|
Loading…
Reference in New Issue
Block a user