forked from External/mage
Fixed a bug of the Revolt ability word that prevented that ot triggered always correctly.
This commit is contained in:
parent
cdf05069d2
commit
fe4abd26c9
2 changed files with 3 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ public class RevoltCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
RevoltWatcher watcher = (RevoltWatcher) game.getState().getWatchers().get("Revolt");
|
||||
RevoltWatcher watcher = (RevoltWatcher) game.getState().getWatchers().get(RevoltWatcher.class.getName());
|
||||
return watcher != null && watcher.revoltActive(source.getControllerId());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue