Fix: Possible error when a ship got destroyed
Alar of Daggerspine [06-24-16 - 23:38]
Fix: Possible error when a ship got destroyed
diff --git a/Widgets.lua b/Widgets.lua
index cce7703..11e874b 100644
--- a/Widgets.lua
+++ b/Widgets.lua
@@ -118,7 +118,7 @@ print(follower)
local followerType=follower.followerTypeID
if xp < 0 then
return self:AddFollowerIcon(followerType,addon:GetFollowerTexture(follower),
- format("%s was destroyed",follower.fullname))
+ format("%s was destroyed",follower.fullname or L["A ship"]))
end
if follower.maxed and not levelup then
return self:AddFollowerIcon(followerType,addon:GetFollowerTexture(follower),