Fix coloring for disguisehelp declaring class
This commit is contained in:
parent
babe5554ab
commit
c21e1b00ff
@ -218,7 +218,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
|
||||
Class<?> declaring = method.getDeclaringClass();
|
||||
if (declaring == LivingWatcher.class) {
|
||||
methodColor = ChatColor.AQUA;
|
||||
} else if (!(declaring.isAssignableFrom(FlagWatcher.class)) || declaring == FlagWatcher.class) {
|
||||
} else if (!(FlagWatcher.class.isAssignableFrom(declaring)) || declaring == FlagWatcher.class) {
|
||||
methodColor = ChatColor.GRAY;
|
||||
}
|
||||
String str = method.getName() + ChatColor.DARK_RED + "(" + ChatColor.GREEN + valueType
|
||||
|
Loading…
Reference in New Issue
Block a user