From 024f13ce9a7da07122d3935f1edb35ee78908d94 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 28 Oct 2015 23:55:34 +0100 Subject: [PATCH] * The Rack - Fixed that it did no damage to the chosen opponent. --- Mage.Sets/src/mage/sets/fourthedition/TheRack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/fourthedition/TheRack.java b/Mage.Sets/src/mage/sets/fourthedition/TheRack.java index bbbed87b4d..1f22f23cfa 100644 --- a/Mage.Sets/src/mage/sets/fourthedition/TheRack.java +++ b/Mage.Sets/src/mage/sets/fourthedition/TheRack.java @@ -119,7 +119,7 @@ class TheRackEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - UUID playerId = (UUID) game.getState().getValue(source.getSourceId().toString() + "_player"); + UUID playerId = (UUID) game.getState().getValue(source.getSourceId().toString() + ChooseOpponentEffect.VALUE_KEY); Player chosenPlayer = game.getPlayer(playerId); if (chosenPlayer != null) { int damage = 3 - chosenPlayer.getHand().size();