From 05cfa23931216de41e3935d1861e4f8ad89622b4 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 25 Mar 2014 23:57:07 +0100 Subject: [PATCH] * Player Hexproof - Fixed that the Player Hexproof prevented that the player could be attacked. --- .../Mage.Player.Human/src/mage/player/human/HumanPlayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/HumanPlayer.java b/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/HumanPlayer.java index 51fff34f5c..6789f9c46d 100644 --- a/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/HumanPlayer.java +++ b/Mage.Server.Plugins/Mage.Player.Human/src/mage/player/human/HumanPlayer.java @@ -662,6 +662,7 @@ public class HumanPlayer extends PlayerImpl { } else { TargetDefender target = new TargetDefender(possibleDefender, attackerId); + target.setNotTarget(true); // player hexproof does not prevent attacking a player if (forcedToAttack) { StringBuilder sb = new StringBuilder(target.getTargetName()); Permanent attacker = game.getPermanent(attackerId);