don't send nil

This commit is contained in:
Lilian Jónsdóttir 2020-08-16 16:17:41 -07:00
parent 46a56e7c69
commit 5c3411567e

View file

@ -850,7 +850,7 @@ local function applyChanges(cell)
if isIgnoredCell(cell) then return end
-- Interior cell, except Waistworks, don't do anything
if isInteriorCell(cell) and not (config.waistWorks and isCantonCell(cell.name)) then return end
if isInteriorCell(cell) and not (config.waistWorks and isCantonCell(cell.id)) then return end
-- don't do anything to public houses
if isPublicHouse(cell) then return end