From f32b69a65460fd5fe3338a8c563622d6969d97e7 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 7 May 2020 11:35:29 +0100 Subject: [PATCH] rename global function --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index 3c0ff5b..250f9e9 100644 --- a/api.lua +++ b/api.lua @@ -590,8 +590,8 @@ local yaw_to_pos = function(self, target, rot) return yaw end -function mobs:turn_to_pos(self, target, rot) - return turn_to_pos(self, target, rot) +function mobs:yaw_to_pos(self, target, rot) + return yaw_to_pos(self, target, rot) end