mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Effects.java: remove redundant check. When in the else part, the lastRule already is guaranteed to not end on a dot
This commit is contained in:
parent
9b89eecab5
commit
21c80a3caa
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class Effects extends ArrayList<Effect> {
|
|||
|| lastRule.endsWith(".")) {
|
||||
endString = " ";
|
||||
// if lastRule does not have appropriate punctuation, add the default ". "
|
||||
} else if (!lastRule.endsWith(".") && !lastRule.endsWith("<br>")) {
|
||||
} else if (!lastRule.endsWith("<br>")) {
|
||||
endString = ". ";
|
||||
}
|
||||
if (nextRule.length() > 3) {
|
||||
|
|
Loading…
Reference in a new issue