Commit 300978d0 authored by Ivaria's avatar Ivaria
Browse files

Fixed error on target switch in combat with show class name enabled

parent 714a3c40
......@@ -393,7 +393,7 @@ function VUHDO_customizeText(aButton, aMode, anIsTarget)
end
if tSetup["ID_TEXT"]["showName"] then
tTextString = (tSetup["ID_TEXT"]["showClass"] and not tInfo["isPet"])
tTextString = (tSetup["ID_TEXT"]["showClass"] and not tInfo["isPet"] and tInfo["className"])
and tInfo["className"] .. ": " or "";
tTextString = tTextString .. ((not tOwnerInfo or not tSetup["ID_TEXT"]["showPetOwners"])
......
......@@ -10,8 +10,9 @@ Known issues:
Bugfixes:
-- Fixed NPE when slash command had zero arguments
-- Fixed error when slash command had zero arguments
-- Fixed class name text for classless units (defaults to creature type)
-- Fixed error on target switch in combat with show class name enabled
Improvements:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment