mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08: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…
Add table
Add a link
Reference in a new issue