Merge pull request #323 from flaminscotsman/CommandExceptions

Fix command exceptions.
This commit is contained in:
Wizjany 2015-03-13 14:30:54 -04:00
commit 58aac973af

View File

@ -100,8 +100,10 @@ public abstract class ExceptionConverterHelper implements ExceptionConverter {
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());
}
}
}