ActionbarPlus

ActionbarPlus

78.7k Downloads

Error when dragging and drop a companion

nfet opened this issue ยท 0 comments

commented

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Drag and drop a companion to an ActionbarPlus action slot
  2. See Error

Error

Message: ...ore/Lib/Widget/Buttons/CompanionDragEventHandler.lua:33: attempt to call global 'IsNil' (a nil value)
Time: Tue Jan 31 21:44:41 2023
Count: 1
Stack: ...ore/Lib/Widget/Buttons/CompanionDragEventHandler.lua:33: attempt to call global 'IsNil' (a nil value)
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/CompanionDragEventHandler.lua"]:33: in function <...ore/Lib/Widget/Buttons/CompanionDragEventHandler.lua:32>
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/CompanionDragEventHandler.lua"]:65: in function `Handle'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ReceiveDragEventHandler.lua"]:79: in function `Handle'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonUI.lua"]:162: in function <...s/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonUI.lua:150>

Locals: companion = <table> {
 icon = 294474
 petType = "CRITTER"
 creatureName = "Cockroach"
 isSummoned = false
 creatureSpellID = 10688
 creatureID = 7395
 index = 2
}
(*temporary) = nil
(*temporary) = <table> {
 icon = 294474
 petType = "CRITTER"
 creatureName = "Cockroach"
 isSummoned = false
 creatureSpellID = 10688
 creatureID = 7395
 index = 2
}
(*temporary) = "attempt to call global 'IsNil' (a nil value)"