Undone wrong fix to Curse of Exhaustion.

This commit is contained in:
LevelX2 2013-03-14 23:56:12 +01:00
parent 9450074b70
commit 2f78dc525f

View file

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