mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
fixed issue 37
This commit is contained in:
parent
35f0767f1b
commit
5c39d9e884
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue