fix undefined pos error

master
Juraj Vajda 2018-02-26 01:42:11 -05:00
parent a8588d84d6
commit 7bef70b433
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ function pvp_block:in_area(pos)
local pos1 = block.pos1
local pos2 = block.pos2
if not pos1 or not pos2 then
return
end
-- print("pos: ", dump(pos0))
-- print("pos1: ", dump(pos1))
-- print("pos2: ", dump(pos2))