HerobrineXia пре 5 година
родитељ
комит
a6f1689b40

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

@@ -1,4 +1,5 @@
 tag @s add tpPlayer
 tp @s @a[tag=tempPlayerTp,limit=1]
 tag @s add tpTemp
-execute at @s rotated as @s run function mini:trade/game/villager_tp3
+tp @s ~ ~ ~ ~ 0
+execute at @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
+execute positioned ^ ^ ^0.1 if block ~ ~ ~ air if block ~ ~1 ~ air if entity @s[distance=..2] run function mini:trade/game/villager_tp3
 tp @s[tag=tpTemp] ~ ~ ~ facing entity @a[tag=tempPlayerTp,limit=1]
 tag @s remove tpTemp