forked from External/mage
[AFR] more text fixes
This commit is contained in:
parent
31a559be23
commit
85dfa58e5d
18 changed files with 40 additions and 29 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue