mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Merge fix
This commit is contained in:
parent
a76a006065
commit
14838e670a
1 changed files with 0 additions and 2 deletions
|
@ -613,8 +613,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
FilterPermanent filter = null;
|
||||
if (target.getOriginalTarget().getFilter() instanceof FilterPermanent) {
|
||||
filter = (FilterPermanent) target.getOriginalTarget().getFilter();
|
||||
} else if (target.getOriginalTarget().getFilter() instanceof FilterPermanentOrSuspendedCard) {
|
||||
filter = ((FilterPermanentOrSuspendedCard) target.getOriginalTarget().getFilter()).getPermanentFilter();
|
||||
}
|
||||
if (filter == null) {
|
||||
throw new IllegalStateException("Unsupported permanent filter in computer's chooseTarget method: "
|
||||
|
|
Loading…
Reference in a new issue