mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed internal wrong spelling.
This commit is contained in:
parent
48035a053e
commit
44100968b7
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ class ActivatedLoyaltyAbilityWatcher extends Watcher {
|
||||||
return new ActivatedLoyaltyAbilityWatcher(this);
|
return new ActivatedLoyaltyAbilityWatcher(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean activatedLayaltyAbility(UUID playerId) {
|
public boolean activatedLoyaltyAbility(UUID playerId) {
|
||||||
return playerIds.contains(playerId);
|
return playerIds.contains(playerId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -177,7 +177,7 @@ class TheChainVeilCondition implements Condition {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
ActivatedLoyaltyAbilityWatcher watcher = (ActivatedLoyaltyAbilityWatcher) game.getState().getWatchers().get("ActivatedLoyaltyAbilityWatcher");
|
ActivatedLoyaltyAbilityWatcher watcher = (ActivatedLoyaltyAbilityWatcher) game.getState().getWatchers().get("ActivatedLoyaltyAbilityWatcher");
|
||||||
if (watcher != null) {
|
if (watcher != null) {
|
||||||
if (!watcher.activatedLayaltyAbility(source.getControllerId())) {
|
if (!watcher.activatedLoyaltyAbility(source.getControllerId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue