Error when someone buffs you out of party
Pegoth opened this issue ยท 0 comments
Get the following error while buffed from a non-party member.
484x ...BlessingHelper\Frames\BlessingHelperUnitTemplate.lua:23: attempt to index local 'unitCaster' (a nil value)
[string "@BlessingHelper\Frames\BlessingHelperUnitTemplate.lua"]:23: in function `Blessings'
[string "@BlessingHelper\Frames\BlessingHelperUnitTemplate.lua"]:79: in function <...BlessingHelper\Frames\BlessingHelperUnitTemplate.lua:49>
Locals:
self = <unnamed> {
BottomLeftCorner = <unnamed> {
}
OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:239
Unit = "player"
GetBackdropColor = <function> defined @SharedXML\Backdrop.lua:477
IsPetUnit = <function> defined @BlessingHelper\Frames\BlessingHelperUnitTemplate.lua:7
TopLeftCorner = <unnamed> {
}
RightEdge = <unnamed> {
}
ApplyBackdrop = <function> defined @SharedXML\Backdrop.lua:381
SetBackdrop = <function> defined @SharedXML\Backdrop.lua:416
ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:369
GetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:496
GetBackdrop = <function> defined @SharedXML\Backdrop.lua:434
HasSecondary = true
TimeSinceLastUpdate = 0
SetBorderBlendMode = <function> defined @SharedXML\Backdrop.lua:353
Last = <table> {
}
PixelSnapDisabled = true
Duration = <unnamed> {
}
HasPrimary = true
Blessings = <function> defined @BlessingHelper\Frames\BlessingHelperUnitTemplate.lua:10
LeftIcon = <unnamed> {
}
SetupTextureCoordinates = <function> defined @SharedXML\Backdrop.lua:301
OnBackdropSizeChanged = <function> defined @SharedXML\Backdrop.lua:269
TopRightCorner = <unnamed> {
}
RightIcon = <unnamed> {
}
GetEdgeSize = <function> defined @SharedXML\Backdrop.lua:275
Weight = 1
Redraw = <function> defined @BlessingHelper\Frames\BlessingHelperUnitTemplate.lua:33
TopEdge = <unnamed> {
}
0 = <userdata>
Center = <unnamed> {
}
backdropInfo = <table> {
}
BottomEdge = <unnamed> {
}
HasBackdropInfo = <function> defined @SharedXML\Backdrop.lua:365
Name = <unnamed> {
}
SetBackdropBorderColor = <function> defined @SharedXML\Backdrop.lua:509
SetupPieceVisuals = <function> defined @SharedXML\Backdrop.lua:333
SetBackdropColor = <function> defined @SharedXML\Backdrop.lua:486
LeftEdge = <unnamed> {
}
BottomRightCorner = <unnamed> {
}
}
own = nil
buf = <table> {
1 = <table> {
}
}
i = 7
name = "Blessing of Wisdom"
_ = 135893
_ = 0
_ = 135970
duration = 600
expirationTime = 49762.531000
unitCaster = nil
blessing = <table> {
normal = <table> {
}
key = "Wisdom"
greater = <table> {
}
}
copy = <table> {
normal = <table> {
}
isGreater = false
key = "Wisdom"
greater = <table> {
}
duration = 600
expirationTime = 49762.531000
}
(*temporary) = false
(*temporary) = nil
(*temporary) = <table> {
normal = <table> {
}
isGreater = false
key = "Wisdom"
greater = <table> {
}
duration = 600
expirationTime = 49762.531000
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
normal = <table> {
}
isGreater = false
key = "Wisdom"
greater = <table> {
}
duration = 600
expirationTime = 49762.531000
}
(*temporary) = <table> {
__index = <table> {
}
Copy = <function> defined @BlessingHelper\init.lua:40
Spell = <function> defined @BlessingHelper\init.lua:80
Equals = <function> defined @BlessingHelper\init.lua:59
IsInRange = <function> defined @BlessingHelper\init.lua:66
Contains = <function> defined @BlessingHelper\init.lua:69
IsUsable = <function> defined @BlessingHelper\init.lua:62
New = <function> defined @BlessingHelper\init.lua:22
}
(*temporary) = "attempt to index local 'unitCaster' (a nil value)"