refactor: make handleLine private in ConsolePlugin
This commit is contained in:
parent
832d6ee5fa
commit
d8c8a9750d
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ public class ConsolePlugin implements Completer {
|
||||||
|
|
||||||
public String consoleServer = "all";
|
public String consoleServer = "all";
|
||||||
|
|
||||||
public String prefix;
|
private String prefix;
|
||||||
|
|
||||||
public ConsolePlugin () {
|
public ConsolePlugin () {
|
||||||
this.allBots = Main.bots;
|
this.allBots = Main.bots;
|
||||||
|
@ -70,7 +70,7 @@ public class ConsolePlugin implements Completer {
|
||||||
candidates.addAll(filteredCommands);
|
candidates.addAll(filteredCommands);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handleLine (String line) {
|
private void handleLine (String line) {
|
||||||
if (line == null) return;
|
if (line == null) return;
|
||||||
|
|
||||||
for (Bot bot : allBots) {
|
for (Bot bot : allBots) {
|
||||||
|
|
Loading…
Reference in a new issue