core: remove leftover semicolons

This commit is contained in:
shagu
2020-08-15 19:29:24 +02:00
parent 74d2ba2abc
commit 7669e64173
13 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -249,14 +249,14 @@ function pfUI.api.GetItemCount(itemName)
local count = 0
for bag = 4, 0, -1 do
for slot = 1, GetContainerNumSlots(bag) do
local _, itemCount = GetContainerItemInfo(bag, slot);
local _, itemCount = GetContainerItemInfo(bag, slot)
if itemCount then
local itemLink = GetContainerItemLink(bag,slot)
local _, _, itemParse = strfind(itemLink, "(%d+):")
local queryName = GetItemInfo(itemParse)
if queryName and queryName ~= "" then
if queryName == itemName then
count = count + itemCount;
count = count + itemCount
end
end
end