Skip to content

Commit

Permalink
Merge pull request EngineHub#323 from flaminscotsman/CommandExceptions
Browse files Browse the repository at this point in the history
Fix command exceptions.
  • Loading branch information
wizjany committed Mar 13, 2015
2 parents 2db5d8b + d5914e5 commit 58aac97
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ public int compareTo(ExceptionHandler o) {
return 0;
} else if (cls.isAssignableFrom(o.cls)) {
return 1;
} else {
} else if (o.cls.isAssignableFrom(cls)) {
return -1;
} else {
return cls.getCanonicalName().compareTo(o.cls.getCanonicalName());
}
}
}
Expand Down

0 comments on commit 58aac97

Please sign in to comment.