Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
1337LutZ committed Jun 15, 2024
1 parent 3e978bf commit 5b10918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExportStructures/ItemSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function ItemSpecMeta:FillFromItemLink(itemLink)
if self._structure.gems then
self.gems = { tonumber(gemId1), tonumber(gemId2), tonumber(gemId3), tonumber(gemId4) }

-- Loop over all filled gems and make sure to backwards fill emppy slots with 0.
-- Loop over all filled gems and make sure to backwards fill empty (nil) gem slots with 0.
for i = 1, #self.gems do
if i > 1 and self.gems[i] and not self.gems[i - 1] then
self.gems[i - 1] = 0
Expand Down

0 comments on commit 5b10918

Please sign in to comment.