mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue