NeatPlates

NeatPlates

7M Downloads

Neatplates broken

Marangwe opened this issue ยท 2 comments

commented

Updated today and go this error logging in:

Message: Interface\AddOns\NeatPlates\NeatPlatesCore.lua:1909: 'end' expected (to close 'do' at line 1259) near ''
Time: Wed May 6 14:26:40 2020
Count: 4

commented

Yep, got this error too.

Just an "end" is missing here :

function CoreEvents:NAME_PLATE_UNIT_ADDED(...)
local unitid = ...
local plate = GetNamePlateForUnit(unitid);
if plate then
if UnitIsUnit("player", unitid) then
OnHideNameplate(plate, unitid)
else
--local children = plate:GetChildren()
--if children then children:Hide() end --Avoids errors incase the plate has no children
if NeatPlatesTarget and unitid and UnitGUID(unitid) == NeatPlatesTarget.unitGUID then toggleNeatPlatesTarget(false) end
OnShowNameplate(plate, unitid)
end
end

commented

Yeah sorry seems there was a bad merge. Should be fixed now.