소스 검색

diamond判断完掉落移除物品tag

HerobrineXia 5 년 전
부모
커밋
6ef153a99b
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      data/mini/functions/diamond/player_death.mcfunction

+ 2 - 1
data/mini/functions/diamond/player_death.mcfunction

@@ -20,4 +20,5 @@ execute if score #total_drop temp matches 1.. run function mini:diamond/game/ite
 tag @s add dead_player
 execute as @e[type=item,tag=death_drop] run data modify entity @s Thrower set from entity @a[tag=dead_player,limit=1] UUID
 tag @s remove dead_player
-execute as @e[type=item,tag=death_drop] run function item:disable_throw
+execute as @e[type=item,tag=death_drop] run function item:disable_throw
+tag @e[type=item] remove death_drop