mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- removed a call to isHuman
This commit is contained in:
@@ -79,9 +79,8 @@ public class ChangeZoneAllEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
final int libraryPos = sa.hasParam("LibraryPosition") ? Integer.parseInt(sa.getParam("LibraryPosition")) : 0;
|
final int libraryPos = sa.hasParam("LibraryPosition") ? Integer.parseInt(sa.getParam("LibraryPosition")) : 0;
|
||||||
|
|
||||||
if (sa.getActivatingPlayer().isHuman() && destination.equals(ZoneType.Library) && !sa.hasParam("Shuffle")
|
if (destination.equals(ZoneType.Library) && !sa.hasParam("Shuffle") && cards.size() >= 2 && !random) {
|
||||||
&& cards.size() >= 2 && !random) {
|
cards = sa.getActivatingPlayer().getController().orderMoveToZoneList(cards, destination);
|
||||||
cards = GuiChoose.order("Choose order of cards to put into the library", "Put first", 0, cards, null, null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (destination.equals(ZoneType.Library) && random) {
|
if (destination.equals(ZoneType.Library) && random) {
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ public class DigUntilEffect extends SpellAbilityEffect {
|
|||||||
// Allow ordering of found cards
|
// Allow ordering of found cards
|
||||||
if ((foundDest.isKnown()) && found.size() >= 2) {
|
if ((foundDest.isKnown()) && found.size() >= 2) {
|
||||||
found = p.getController().orderMoveToZoneList(found, foundDest);
|
found = p.getController().orderMoveToZoneList(found, foundDest);
|
||||||
// should possibly use host.getController().getController()... for these instead of p.getController?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final Iterator<Card> itr = found.iterator();
|
final Iterator<Card> itr = found.iterator();
|
||||||
|
|||||||
Reference in New Issue
Block a user