mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-07-05 08:30:04 +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;
|
return 0;
|
||||||
} else if (cls.isAssignableFrom(o.cls)) {
|
} else if (cls.isAssignableFrom(o.cls)) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else if (o.cls.isAssignableFrom(cls)) {
|
||||||
return -1;
|
return -1;
|
||||||
|
} else {
|
||||||
|
return cls.getCanonicalName().compareTo(o.cls.getCanonicalName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user