If the method to use isn't part of a flagwatcher class. Make it gray as its a base
This commit is contained in:
parent
5115af60a0
commit
ead0fd724c
@ -212,7 +212,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
|
||||
Class<?> declaring = method.getDeclaringClass();
|
||||
if (declaring == LivingWatcher.class) {
|
||||
methodColor = ChatColor.AQUA;
|
||||
} else if (declaring == FlagWatcher.class) {
|
||||
} else if (!(declaring.isAssignableFrom(FlagWatcher.class)) || declaring == FlagWatcher.class) {
|
||||
methodColor = ChatColor.GRAY;
|
||||
}
|
||||
String str = method.getName() + ChatColor.DARK_RED + "(" + ChatColor.GREEN + valueType
|
||||
|
Loading…
Reference in New Issue
Block a user