From 3ed2bd9ff62be14a6b13db3b59095939c1842d4f Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 26 Dec 2016 17:49:19 +0000 Subject: [PATCH] fix line of sight ypos --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.lua b/api.lua index 334fa48..1415557 100644 --- a/api.lua +++ b/api.lua @@ -1,5 +1,5 @@ --- Mobs Api (16th December 2016) +-- Mobs Api (26th December 2016) mobs = {} mobs.mod = "redo" @@ -1720,8 +1720,8 @@ local do_states = function(self, dtime) local p2 = p local s2 = s - p2.y = p2.y + 1.5 - s2.y = s2.y + 1.5 + p2.y = p2.y + .5--1.5 + s2.y = s2.y + .5--1.5 if line_of_sight_water(self, p2, s2) == true then