mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-24 17:05:22 +02:00
removed unused closewindow
This commit is contained in:
parent
f3d2f29652
commit
675594db08
1 changed files with 0 additions and 4 deletions
|
@ -249,10 +249,6 @@ export class Agent {
|
|||
this.bot.on('idle', () => {
|
||||
this.bot.clearControlStates();
|
||||
this.bot.pathfinder.stop(); // clear any lingering pathfinder
|
||||
if (this.bot.currentWindow) {
|
||||
this.bot.chat('Closing window...');
|
||||
this.bot.closeWindow(this.bot.currentWindow);
|
||||
}
|
||||
this.bot.modes.unPauseAll();
|
||||
this.coder.executeResume();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue