forked from External/mage
Equals should be compared with == but not equals()
This commit is contained in:
parent
1f9b51d833
commit
d93061c0bc
175 changed files with 348 additions and 344 deletions
|
|
@ -147,7 +147,7 @@ public final class GuiDisplayUtil {
|
|||
for (String rule : card.getRules()) {
|
||||
textLines.basicTextLength += rule.length();
|
||||
}
|
||||
if (card.getMageObjectType().equals(MageObjectType.PERMANENT)) {
|
||||
if (card.getMageObjectType() == MageObjectType.PERMANENT) {
|
||||
if (card.getPairedCard() != null) {
|
||||
textLines.lines.add("<span color='green'><i>Paired with another creature</i></span>");
|
||||
textLines.basicTextLength += 30;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue