HerobrineXia 5 лет назад
Родитель
Сommit
cd5aa4c4d7

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

@@ -1,3 +1,3 @@
 tag @s add tempPlayerTp
-execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id run function mini:trade/game/villager_tp2
+execute as @e[type=villager,tag=TradePlayer] if score @s player_id = @a[tag=tempPlayerTp,limit=1] player_id at @s run function mini:trade/game/villager_tp2
 tag @s remove tempPlayerTp

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

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