Fixed typo

This commit is contained in:
Oleg Agafonov 2019-04-21 22:46:42 +04:00
parent 39813fbf9b
commit 58e02315fb

View file

@ -69,7 +69,7 @@ class ChandraFireArtisanTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getAmount() == 0 || event.getData() != "loyalty"
if (event.getAmount() == 0 || !event.getData().equals("loyalty")
|| !event.getTargetId().equals(getSourceId())) {
return false;
}