fix: ensure basicMatcher returns an empty string for unmatched cases
This commit is contained in:
@@ -1760,6 +1760,7 @@ function basicMatcher (p1:string,matcherArg:matcherArg,vars:{[key:string]:string
|
|||||||
if(DBState.db.characters[get(selectedCharID)]?.chaId === 'risuaixa'){
|
if(DBState.db.characters[get(selectedCharID)]?.chaId === 'risuaixa'){
|
||||||
return risuChatParser(airisu)
|
return risuChatParser(airisu)
|
||||||
}
|
}
|
||||||
|
return ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user