mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-01 06:05:19 +02:00
Inventory is cleared only when a task is present
This commit is contained in:
parent
afded138d0
commit
6002c6fb9c
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ export class Agent {
|
|||
this.startEvents();
|
||||
|
||||
if (!load_mem) {
|
||||
this.task.initBotTask();
|
||||
if (task_path !== null) {
|
||||
this.task.initBotTask();
|
||||
}
|
||||
}
|
||||
|
||||
await new Promise((resolve) => setTimeout(resolve, 10000));
|
||||
|
|
Loading…
Add table
Reference in a new issue