mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +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