Empowered casts on friendly nameplates cause errors
th657 opened this issue ยท 1 comments
The following error happens when an empowered cast happens on friendly nameplates:
StatusBar:GetRight(): Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: StatusBar:GetRight()
It could happen on enemy nameplates too but I haven't checked.
The error is caused by
Line 119 in f1a6478
Changing the line to local elementWidth = element:GetWidth()
seems to work fine.