forked from External/mage
change enum equals to == for client
This commit is contained in:
parent
a32a02b688
commit
d966c82019
9 changed files with 17 additions and 17 deletions
|
|
@ -241,7 +241,7 @@ public class MageBook extends JComponent {
|
|||
cardImg.update(card);
|
||||
cardImg.setCardBounds(rectangle.x, rectangle.y, cardDimensions.frameWidth, cardDimensions.frameHeight);
|
||||
|
||||
boolean implemented = !card.getRarity().equals(Rarity.NA);
|
||||
boolean implemented = card.getRarity() != Rarity.NA;
|
||||
|
||||
GlowText label = new GlowText();
|
||||
label.setGlow(implemented ? Color.green : NOT_IMPLEMENTED, 12, 0.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue