I can’t recreate this. The only part of the game that uses replaceAll()
is the profanity filter, but I just went and thoroughly tested it and I can’t get it to error in this way. Did you try again after this? I might just need to see your save file.