Add files via upload

This commit is contained in:
Harveykang 2020-03-21 21:07:15 +08:00 committed by GitHub
parent 42246fe46d
commit 7a9adc2aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,8 @@ scoreboard players enable @a cleaner
scoreboard players enable @a cleanerMessage
execute as @a[scores={cleaner=..-1}] run function fz:cleaner/cleaneroff
execute as @a[scores={cleaner=1..29}] run tellraw @s [{"text":"请输入>=30的时间(单位:秒)","color":"dark_red"}]
execute as @a[scores={cleaner=30..}] run function fz:cleaner/cleaneron
execute as @a[scores={cleaner=30..107374182}] run function fz:cleaner/cleaneron
execute as @a[scores={cleaner=107374183..}] run tellraw @s [{"text":"数值溢出不能大于107374182","color":"dark_red"}]
execute as @a[scores={cleanerMessage=1},tag=noDisplayCleanerChat] run function fz:cleaner/cleanerchaton
execute as @a[scores={cleanerMessage=-1},tag=!noDisplayCleanerChat] run function fz:cleaner/cleanerchatoff
execute as @a[scores={cleanerMessage=2},tag=!displayCleanerBossBar] run function fz:cleaner/cleanerbaron

View File

@ -2,6 +2,7 @@ scoreboard objectives remove cleaner
scoreboard objectives remove cleaned
scoreboard objectives remove cleanerBooleans
scoreboard objectives remove setCleanTime
scoreboard objectives remove secondsCounter
scoreboard objectives remove displayCleanTime
scoreboard objectives remove cleanerMessage
bossbar remove cleaner