[AFR] more text fixes

This commit is contained in:
Evan Kranzler 2021-08-23 19:14:50 -04:00
parent 31a559be23
commit 85dfa58e5d
18 changed files with 40 additions and 29 deletions

View file

@ -62,7 +62,10 @@ public class Effects extends ArrayList<Effect> {
}
//check if nextRule is a new sentence or not.
if (nextRule.startsWith("and ") || nextRule.startsWith("with ") || nextRule.startsWith("then ")) {
if (nextRule.startsWith("and ")
|| nextRule.startsWith("with ")
|| nextRule.startsWith("then ")
|| nextRule.startsWith("or ")) {
endString = " ";
} else if (nextRule.startsWith(",") || nextRule.startsWith(" ")) {
endString = "";