Skip to content

Commit 1755c3e

Browse files
authored
Fixed a bug with bank bags and cooldowns. (#739)
1 parent ffc9c49 commit 1755c3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

widgets/ItemButton.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ function buttonProto:Update()
322322
end
323323
self:UpdateCount()
324324
self:UpdateBorder()
325-
self:UpdateCooldown(self.texture)
325+
if self.UpdateCooldown then
326+
self:UpdateCooldown(self.texture)
327+
end
326328
self:UpdateLock()
327329
self:UpdateNew()
328330
if addon.isRetail then

0 commit comments

Comments
 (0)