mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-11 09:45:33 +02:00
unset action name when done
This commit is contained in:
parent
de7883a0d2
commit
f3d2f29652
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ export async function executeCommand(agent, message) {
|
||||||
agent.coder.setCurActionName(command.name);
|
agent.coder.setCurActionName(command.name);
|
||||||
const result = await command.perform(agent, ...parsed.args);
|
const result = await command.perform(agent, ...parsed.args);
|
||||||
if (is_action)
|
if (is_action)
|
||||||
agent.coder.setCurActionName(command.name);
|
agent.coder.setCurActionName('');
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue