瀏覽代碼

传土豆测试3

HerobrineXia 6 年之前
父節點
當前提交
807af16f6d
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      data/mini/functions/hotpm/potato_transfer.mcfunction

+ 1 - 1
data/mini/functions/hotpm/potato_transfer.mcfunction

@@ -1,4 +1,4 @@
 # 传土豆+提示
 tag @s remove hpm_holding
 tag @a[tag=pm_damage_taken] add hpm_holding
-tellraw @a [{"text":">>","color":"red"},{"selector":"@s"},{"text":"将土豆拍在了","color":"gold"},{"selector":"pm_damage_taken"},{"text":"的脸上!","color":"gold"}]
+tellraw @a [{"text":">>","color":"red"},{"selector":"@s"},{"text":"将土豆拍在了","color":"gold"},{"selector":"@a[tag=pm_damage_taken]"},{"text":"的脸上!","color":"gold"}]