<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -119,8 +119,10 @@ function EngravingsGenerateWowheadSet(spec, data)
 				local slotid = slots[i]
 				local items = slotid and GetInventoryItemsForSlot(slotid, wipe(temp))
 				local best = true
-				for _,id in pairs(setitems[slotid]) do
-					if id ~= i and tonumber(values[id]) &gt; tonumber(v) then best = false end
+				if slotid then
+					for _,id in pairs(setitems[slotid]) do
+						if id ~= i and tonumber(values[id]) &gt; tonumber(v) then best = false end
+					end
 				end
 				if best and items then
 					for _,id in pairs(items) do</diff>
      <filename>Engravings.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5af419f2447b27fc53931c5caa342aa576fe9b33</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/engravings/commit/a09a1c151f65203ca7c3cfad645ec4c1093b4b1e</url>
  <id>a09a1c151f65203ca7c3cfad645ec4c1093b4b1e</id>
  <committed-date>2009-06-03T23:08:22-07:00</committed-date>
  <authored-date>2009-06-03T23:08:22-07:00</authored-date>
  <message>Blasted nil indexes</message>
  <tree>ad6dda7e26072ae42809de6f9217691713b0ae0e</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
