Просмотр исходного кода

村民交互重置判定更改

HerobrineXia 5 лет назад
Родитель
Сommit
579fddf672
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      data/mini/functions/trade/tick2.mcfunction

+ 1 - 1
data/mini/functions/trade/tick2.mcfunction

@@ -2,7 +2,7 @@ tag @e[type=villager,tag=TradePlayer] remove tpPlayer
 # 处理村民糊脸
 execute as @a[team=playing,gamemode=survival] unless entity @s[nbt={SelectedItemSlot:8}] run tag @s add noVillager
 execute as @a[team=playing,gamemode=survival] if entity @s[tag=noVillager] if score @s interactVillager matches 1.. at @s as @e[type=villager,tag=TradePlayer,distance=..5] run function mini:trade/game/villager_rebirth
-execute as @a[team=playing,gamemode=survival] if entity @s[tag=noVillager] if score @s interactVillager matches 1.. run scoreboard players reset @s interactVillager
+execute as @a[team=playing,gamemode=survival] if score @s interactVillager matches 1.. run scoreboard players reset @s interactVillager
 execute as @a[team=playing,gamemode=survival] if entity @s[nbt={SelectedItemSlot:8}] run function mini:trade/game/villager_tp
 # 归位村民
 tp @e[type=villager,tag=TradePlayer,tag=!tpPlayer] 1000 5 5000