mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed typo
This commit is contained in:
parent
39813fbf9b
commit
58e02315fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue