- removed a call to isHuman

This commit is contained in:
moomarc
2013-05-24 12:13:21 +00:00
parent 76a2a73aa1
commit 24ef3f77a8
2 changed files with 4 additions and 6 deletions

View File

@@ -79,9 +79,8 @@ public class ChangeZoneAllEffect extends SpellAbilityEffect {
final int libraryPos = sa.hasParam("LibraryPosition") ? Integer.parseInt(sa.getParam("LibraryPosition")) : 0;
if (sa.getActivatingPlayer().isHuman() && destination.equals(ZoneType.Library) && !sa.hasParam("Shuffle")
&& cards.size() >= 2 && !random) {
cards = GuiChoose.order("Choose order of cards to put into the library", "Put first", 0, cards, null, null);
if (destination.equals(ZoneType.Library) && !sa.hasParam("Shuffle") && cards.size() >= 2 && !random) {
cards = sa.getActivatingPlayer().getController().orderMoveToZoneList(cards, destination);
}
if (destination.equals(ZoneType.Library) && random) {

View File

@@ -134,7 +134,6 @@ public class DigUntilEffect extends SpellAbilityEffect {
// Allow ordering of found cards
if ((foundDest.isKnown()) && found.size() >= 2) {
found = p.getController().orderMoveToZoneList(found, foundDest);
// should possibly use host.getController().getController()... for these instead of p.getController?
}
final Iterator<Card> itr = found.iterator();