HerobrineXia 5 лет назад
Родитель
Сommit
1a22a27cba

+ 1 - 1
data/mini/functions/colormatch/game/show_floor_block.mcfunction

@@ -1,5 +1,5 @@
 # 清理物品
-clear @s #item:game_item{game_item:1b}
+clear @s #mini:game_item{game_item:1b}
 
 # 返还格子上的物品
 execute if data entity @s Inventory[{Slot:8b}] run scoreboard players set @s item_slot 8

+ 1 - 0
data/mini/functions/main/player_enter.mcfunction

@@ -8,6 +8,7 @@ scoreboard players set @s[team=watching] mini_score -1000000
 function mini:main/update_player_count
 
 clear @s #mini:game_item{game_item:1b}
+clear @s barrier{LockItem:1b}
 recipe take @s *
 
 execute if score $mini_type mem matches 1 run function mini:parkour/player_enter

+ 0 - 4
data/mini/functions/phantom/player_enter.mcfunction

@@ -23,10 +23,6 @@ scoreboard players reset @s countdown
 # 传送玩家
 tp @s[team=playing] 1030.5 24.5 6031.5
 
-# 清理道具
-clear @s #item:game_item{game_item:1b}
-clear @s barrier{LockItem:1b}
-
 # 调整模式
 gamemode spectator @s[team=!debugging]
 gamemode adventure @s[team=playing,tag=!rejoining]