tick20.mcfunction 343 B

12345678
  1. # 离开次数为不存在,则为第一次加入游戏
  2. # 离开次数不为 0,则离开过游戏
  3. execute as @a unless score @s leave_game matches 0 run function ltw:main/player_enter
  4. execute as @a unless score @s leave_game matches 0 run scoreboard players set @s leave_game 0
  5. # TODO: 未完成的重构
  6. #function ltw:main/player_changed