Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 3, 2024
1 parent fe1809f commit 1629829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modtools/create-item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ function hackWish(accessors, opts)
table.insert(items, createCorpsePiece(unit, bodypart, partlayerID, matindex, casteId, corpsepieceGeneric))
else
local mat = typesThatUseCreaturesExceptCorpses[df.item_type[itemtype]] and {matindex, casteId} or {mattype, matindex}
for _,item in ipairs(createItem(mat, {itemtype, itemsubtype}, quality, unit, description, 1)) do
table.insert(items, item)
for _,item in ipairs(createItem(mat, {itemtype, itemsubtype}, quality, unit, description, 1)) do
table.insert(items, item)
end
end
end
Expand Down

0 comments on commit 1629829

Please sign in to comment.