Fixed a bug of the Revolt ability word that prevented that ot triggered always correctly.

This commit is contained in:
LevelX2 2017-01-21 01:33:46 +01:00
parent cdf05069d2
commit fe4abd26c9
2 changed files with 3 additions and 5 deletions

View file

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