2
0
HerobrineXia 5 жил өмнө
parent
commit
b6108e1064

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

@@ -1,4 +1,4 @@
 tag @s add tpPlayer
 tp @s @a[tag=tempPlayerTp,limit=1]
 tag @s add tpTemp
-execute at @s run function mini:trade/game/villager_tp3
+execute at @s rotated as @s run function mini:trade/game/villager_tp3

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

@@ -1,3 +1,3 @@
 execute positioned ^ ^ ^0.1 if block ~ ~ ~ air if block ~ ~1 ~ air if entity @s[distance=..3] run function mini:trade/game/villager_tp3
-tp @s[tag=tpTemp] ~ ~ ~
+tp @s[tag=tpTemp] ~ ~ ~ facing entity @a[tag=tempPlayerTp,limit=1]
 tag @s remove tpTemp