change enum equals to == for client

This commit is contained in:
ingmargoudt 2017-03-01 17:03:11 +01:00
parent a32a02b688
commit d966c82019
9 changed files with 17 additions and 17 deletions

View file

@ -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);