Teleporting to Moonglade causes Lua error
nyrdh opened this issue ยท 1 comments
When I teleport to Moonglade with my druid to talk to the trainer, I get this error (and it also happens then again when using the hearthstone back to Northrend):
Message: ...\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:153: attempt to index field 'mainTimer' (a nil value)
Time: Sun Oct 30 09:03:44 2022
Count: 2
Stack: ...\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:153: attempt to index field 'mainTimer' (a nil value)
[string "@Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua"]:153: in function `SwingEnd'
[string "@Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua"]:97: in function <...\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:96>
[string "@Interface\SharedXML\C_TimerAugment.lua"]:16: in function <Interface\SharedXML\C_TimerAugment.lua:14>
Locals: self = <table> {
PLAYER_ENTER_COMBAT = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:467
PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:34
offSpeed = 0
lastMainSwing = 173456.714000
skipNextAttackCount = 0
skipNextAttackSpeedUpdateCount = 0
preventSwingReset = false
lastOffSwing = 173456.714000
UNIT_SPELLCAST_SUCCEEDED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:343
firstMainSwing = false
RegisterCallback = <function> defined @Interface\AddOns\LibSharedMedia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UNIT_ATTACK_SPEED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:259
UnregisterCallback = <function> defined @Interface\AddOns\LibSharedMedia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
SwingEnd = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:151
CalculateDelta = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:76
Fire = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:30
lastRangedSwing = 173456.714000
callbacks = <table> {
}
UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:411
isAttacking = false
class = "DRUID"
auraPreventSwingReset = false
unitGUID = "Player-4440-029EB0A1"
UNIT_SPELLCAST_INTERRUPTED_OR_FAILED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:308
PLAYER_LEAVE_COMBAT = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:478
mainSpeed = 3.000000
UnregisterAllCallbacks = <function> defined @Interface\AddOns\LibSharedMedia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
PLAYER_EQUIPMENT_CHANGED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:456
SwingTimerInfo = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:176
UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:435
COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:186
rangedSpeed = 0
rangedExpirationTime = 173456.714000
UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:336
offExpirationTime = 173459.714000
channeling = false
SwingStart = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:82
firstOffSwing = false
mainExpirationTime = 173459.714000
casting = false
UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\SwedgeTimer\Libs\LibClassicSwingTimerAPI\LibClassicSwingTimerAPI.lua:441
UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\SwedgeTimer\Lib
Should be fixed with https://github.com/Ralgathor/LibClassicSwingTimerAPI/releases/tag/v1.4.2. Thanks for the report!