Ver Fonte

修改村民位置

HerobrineXia há 5 anos atrás
pai
commit
2b624c6428
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      data/mini/functions/trade/game/villager_tp.mcfunction

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

@@ -1,6 +1,6 @@
 tag @s add tempPlayerTp
 execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tag @s add tempVillagerTp
 execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run tag @s add tpPlayer
-execute at @s anchored eyes run tp @e[type=villager,tag=tempVillagerTp] ^ ^ ^0.2
+execute at @s anchored feet run tp @e[type=villager,tag=tempVillagerTp] ^ ^ ^0.5
 tag @e[type=villager,tag=tempVillagerTp] remove tempVillagerTp
 tag @s remove tempPlayerTp