Whitespace fix
This commit is contained in:
@@ -533,7 +533,7 @@ public class BotCommand extends CommandInstance {
|
|||||||
public void debug(CommandSender sender, @Arg("expression") String expression) {
|
public void debug(CommandSender sender, @Arg("expression") String expression) {
|
||||||
new Debugger(sender).execute(expression);
|
new Debugger(sender).execute(expression);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autofill
|
@Autofill
|
||||||
public List<String> debugAutofill(CommandSender sender, String[] args) {
|
public List<String> debugAutofill(CommandSender sender, String[] args) {
|
||||||
return args.length == 2 ? new ArrayList<>(Debugger.AUTOFILL_METHODS) : new ArrayList<>();
|
return args.length == 2 ? new ArrayList<>(Debugger.AUTOFILL_METHODS) : new ArrayList<>();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class Debugger {
|
|||||||
|
|
||||||
private final CommandSender sender;
|
private final CommandSender sender;
|
||||||
public static final Set<String> AUTOFILL_METHODS = new HashSet<>();
|
public static final Set<String> AUTOFILL_METHODS = new HashSet<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
for (Method method : Debugger.class.getDeclaredMethods()) {
|
for (Method method : Debugger.class.getDeclaredMethods()) {
|
||||||
if (!method.getName().equals("print") && !method.getName().equals("execute") && !method.getName().equals("buildObjects")
|
if (!method.getName().equals("print") && !method.getName().equals("execute") && !method.getName().equals("buildObjects")
|
||||||
|
|||||||
Reference in New Issue
Block a user