mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Merge pull request #323 from flaminscotsman/CommandExceptions
Fix command exceptions.
This commit is contained in:
commit
58aac973af
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user