correct value because table is no longer nameless
This commit is contained in:
parent
40854e43e2
commit
6551470e94
@ -26,7 +26,7 @@ end
|
|||||||
|
|
||||||
-- Activated once per second, counts items in bowls
|
-- Activated once per second, counts items in bowls
|
||||||
function countItems()
|
function countItems()
|
||||||
local totalValue = -1
|
local totalValue = 0
|
||||||
local countableItems = findValidItemsInSphere()
|
local countableItems = findValidItemsInSphere()
|
||||||
for _, entry in ipairs(countableItems) do
|
for _, entry in ipairs(countableItems) do
|
||||||
local descValue = tonumber(entry.hit_object.getDescription())
|
local descValue = tonumber(entry.hit_object.getDescription())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user