QuestJS icon indicating copy to clipboard operation
QuestJS copied to clipboard

Nowhere

Open KVonGit opened this issue 1 year ago • 1 comments

When hyperlinks are enabled and the location has no exit, it prints "nowhere"


PR coming very soon. (I'm not sure my fix is the correct way to handle it.)

KVonGit avatar Dec 06 '24 01:12 KVonGit

https://github.com/ThePix/QuestJS/blob/f9680fb53365b0b79583d1cdb67e4e345a622605/lib/item-links.js#L217-L221

This is what I changed to fix it:

  //return formatList(list, {lastSep:lang.list_or, nothing:lang.list_nowhere});
  return formatList(list, {lastSep:lang.list_or, nothing:''});

KVonGit avatar Dec 06 '24 01:12 KVonGit