Skip to content

Commit

Permalink
Double incompatible Musician version error in chat
Browse files Browse the repository at this point in the history
  • Loading branch information
LenweSaralonde committed Feb 4, 2023
1 parent 2bc86aa commit 5ccf0aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/MusicianMIDI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ function MusicianMIDI:OnEnable()
-- Incompatible Musician version
if MusicianMIDI.MUSICIAN_API_VERSION > (Musician.API_VERSION or 0) then
Musician.Utils.Error(MusicianMIDI.Msg.ERROR_MUSICIAN_VERSION_TOO_OLD)
Musician.Utils.PrintError(MusicianMIDI.Msg.ERROR_MUSICIAN_VERSION_TOO_OLD)
return
elseif MusicianMIDI.MUSICIAN_API_VERSION < Musician.API_VERSION then
Musician.Utils.Error(MusicianMIDI.Msg.ERROR_MUSICIAN_MIDI_VERSION_TOO_OLD)
Musician.Utils.PrintError(MusicianMIDI.Msg.ERROR_MUSICIAN_MIDI_VERSION_TOO_OLD)
return
end

Expand Down

0 comments on commit 5ccf0aa

Please sign in to comment.