tick2.mcfunction 455 B

12345
  1. # 检查玩家是否移出了准备物品
  2. # FIXME: [HIM] 能否尝试解决玩家从物品栏丢出物品可以被其他人捡到的 Bug?
  3. execute as @a[team=hub_watch] unless data entity @s Inventory[{Slot:0b,id:"minecraft:gray_dye",tag:{"lobby_item":1b}}] run function ltw:state/0/sp/join_play
  4. execute as @a[team=hub_play] unless data entity @s Inventory[{Slot:0b,id:"minecraft:lime_dye",tag:{"lobby_item":1b}}] run function ltw:state/0/sp/join_watch