Commit 75c71935 authored by Ivaria's avatar Ivaria
Browse files

Fixed smart cast resurrection for class and spec combinations without a...

Fixed smart cast resurrection for class and spec combinations without a resurrection spell or ability
parent 5c4ad9db
......@@ -528,7 +528,11 @@ local tResurrectionSpells;
function VUHDO_getResurrectionSpells()
tResurrectionSpells = (VUHDO_RESURRECTION_SPELLS[VUHDO_PLAYER_CLASS] or sEmpty)[GetSpecialization() or 0];
return unpack(tResurrectionSpells);
if tResurrectionSpells then
return unpack(tResurrectionSpells);
else
return nil;
end
end
......
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