Browse Source

村民糊脸tag修改

HerobrineXia 5 years ago
parent
commit
9fc11b0506
1 changed files with 2 additions and 2 deletions
  1. 2 2
      data/mini/functions/trade/game/villager_tp.mcfunction

+ 2 - 2
data/mini/functions/trade/game/villager_tp.mcfunction

@@ -1,4 +1,4 @@
 tag @s add tempPlayerTp
-execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempVillagerTp,limit=1] player_id run tp @s @a[tag=tempVillagerTp,limit=1]
-execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempVillagerTp,limit=1] player_id run tag @s add tpPlayer
+execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tp @s @a[tag=tempPlayerTp,limit=1]
+execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tag @s add tpPlayer
 tag @s remove tempPlayerTp