mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-08 08:15:38 +02:00
name not always defined
This commit is contained in:
parent
5497608ee1
commit
5649cec439
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ export const actionsList = [
|
|||
},
|
||||
perform: async function (agent, player_name, message) {
|
||||
if (convoManager.inConversation())
|
||||
return 'You are already talking to ' + convoManager.activeConversation.name;
|
||||
return 'You are already in conversation';
|
||||
if (!convoManager.isOtherAgent(player_name))
|
||||
return player_name + ' is not a bot, cannot start conversation.';
|
||||
convoManager.startConversation(player_name, message);
|
||||
|
|
Loading…
Add table
Reference in a new issue