Plumber

Plumber

6M Downloads

[MoP] attempt to call upvalue 'GetBagItem' (a nil value)

fkelava opened this issue ยท 1 comments

commented

Occasionally incurred when looting objects such as Dark Soil in Mists.

I do not have a consistent repro for this. It occurs sporadically, and I have not found any consistent connection between the occurrences.

21x Plumber/API.lua:3194: attempt to call upvalue 'GetBagItem' (a nil value)
[Plumber/API.lua]:3194: in function <Plumber/API.lua:3178>

Locals:
self = Frame {
 t = 0
 queue = <table> {
 }
}
elapsed = 0.014000
itemID = 87209
anyMatch = true
(for index) = 2
(for limit) = 4
(for step) = 1
bagID = 2
(for index) = 10
(for limit) = 26
(for step) = 1
slotID = 10
(*temporary) = nil
(*temporary) = 2
(*temporary) = 10
(*temporary) = "attempt to call upvalue 'GetBagItem' (a nil value)"
OPENABLE_ITEM = <table> {
}
GetBagItem = nil

An example of it occurring. Nothing is actually wrong beyond a Lua error being emitted.

2025-08-25.11-15-00.mp4
commented

Hi! It's been fixed in the latest update.

Plumber will attempt to find out if certain types of items are openable caches by scanning the bag item tooltip, but the method doesn't exist in Classic.