Module:Constants: Difference between revisions

Made sure empty text returns nothing for skills
(Fixed issue with recursion with p._getModifierText)
(Made sure empty text returns nothing for skills)
Line 265: Line 265:
   end
   end


   if skill ~= nil then
   if skill ~= nil and skill ~= '' then
     value = {p.getSkillID(skill), value}
     value = {p.getSkillID(skill), value}
   end
   end