From 8ed3672fb16cfb6aa60cb3a99fb0205f83c7ca5b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 8 Apr 2017 18:09:06 +0100 Subject: [PATCH] typo in var name --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.lua b/api.lua index 69df469..60aa99b 100644 --- a/api.lua +++ b/api.lua @@ -215,9 +215,9 @@ function line_of_sight(self, pos1, pos2, stepsize) -- NaN checks if d == 0 - or npos.x ~= npos.x - or npos.y ~= npos.y - or npos.z ~= npos.z then + or npos1.x ~= npos1.x + or npos1.y ~= npos1.y + or npos1.z ~= npos1.z then return false end