Class Trainer Plus

Class Trainer Plus

44.2k Downloads

BUG: Slash Command Error

eTzmNcbkrng opened this issue ยท 1 comments

commented

running /ctp with no arguments throws an error.
It should silently fail or print help text showing valid arguments.

12x ClassTrainerPlus\ClassTrainerPlus-0.7-beta.lua:836: bad argument #1 to 'lower' (string expected, got nil)
[C]: in function `lower'
ClassTrainerPlus\ClassTrainerPlus-0.7-beta.lua:836: in function `?'
FrameXML\ChatFrame.lua:4695: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4356: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4392: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = nil
(*temporary) = "string expected, got nil"

Also, is there any documentation on how the import feature works? I couldn't figure it out so have been copying characters' individual SavedVar files.

commented

Thanks for the reports, github never sends me notifications even though I have everything enabled for them. I will be sure to take all the issues you brought up for consideration. Thank you again!