mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Undone wrong fix to Curse of Exhaustion.
This commit is contained in:
parent
9450074b70
commit
2f78dc525f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class CurseOfExhaustionEffect extends ReplacementEffectImpl<CurseOfExhaustionEff
|
|||
if (enchantment != null && enchantment.getAttachedTo() != null) {
|
||||
Player player = game.getPlayer(enchantment.getAttachedTo());
|
||||
if (player != null && event.getPlayerId().equals(player.getId())) {
|
||||
Watcher watcher = game.getState().getWatchers().get("SpellCast", player.getId());
|
||||
Watcher watcher = game.getState().getWatchers().get("SpellCast", source.getControllerId());
|
||||
if (watcher != null && watcher.conditionMet()) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue