fixed issue 37

This commit is contained in:
BetaSteward 2011-03-18 21:45:50 -04:00
parent 35f0767f1b
commit 5c39d9e884

View file

@ -219,7 +219,7 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
waitForResponse();
if (response.getUUID() != null) {
if (target instanceof TargetPermanent) {
if (((TargetPermanent)target).canTarget(playerId, response.getUUID(), null, game)) {
if (((TargetPermanent)target).canTarget(playerId, response.getUUID(), source, game)) {
target.addTarget(response.getUUID(), source, game);
return true;
}