diff --git a/Chocobo.lua b/Chocobo.lua index e6f422a..be238f7 100644 --- a/Chocobo.lua +++ b/Chocobo.lua @@ -429,7 +429,7 @@ function C:AddCustomMusic(song, mount) if song then song = CLib:Trim(tostring(song)) end - mount = mount:lower() + mount = CLib:Trim(mount:lower()) if song == "" or type(song) ~= "string" then song = nil --self:ErrorMsg((L["AddCustomInvalidSong"]):format(tostring(song)))