From ac2957fd506a06afcaacbc91b785e179cf0e8fdc Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 25 Jul 2011 22:21:50 -0500 Subject: [PATCH] Use ipairs instead of pairs since this is an indexed table. --- Core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core.lua b/Core.lua index 398a7b3..2d52572 100644 --- a/Core.lua +++ b/Core.lua @@ -990,7 +990,7 @@ do local specialty = SpecialtyTable[current_prof] - for index, book_index in pairs(specialtices_indices) do + for index, book_index in ipairs(specialtices_indices) do local spell_name = _G.GetSpellBookItemName(book_index, "profession") if not spell_name then -- 1.7.9.5