revert 0f042b0
This commit is contained in:
parent
e4dfecb7a3
commit
b0ad269131
|
|
@ -55,18 +55,6 @@ public class AltitudeBot {
|
||||||
Logger.exception(e);
|
Logger.exception(e);
|
||||||
}
|
}
|
||||||
initListeners();
|
initListeners();
|
||||||
new Thread("Console Thread") { // to gracefully shutdown if using intellij
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
Scanner scanner = new Scanner(System.in);
|
|
||||||
while (scanner.hasNextLine()) {
|
|
||||||
String line = scanner.nextLine();
|
|
||||||
if (line.equalsIgnoreCase("exit")) {
|
|
||||||
System.exit(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}.start();
|
|
||||||
//TODO init permissionManager
|
//TODO init permissionManager
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user