瀏覽代碼

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