diff --git a/forge-gui-desktop/src/main/java/forge/GuiDesktop.java b/forge-gui-desktop/src/main/java/forge/GuiDesktop.java index daa4bce2b2d..40acb4d1a54 100644 --- a/forge-gui-desktop/src/main/java/forge/GuiDesktop.java +++ b/forge-gui-desktop/src/main/java/forge/GuiDesktop.java @@ -166,21 +166,21 @@ public class GuiDesktop implements IGuiBase { @Override public List getChoices(final String message, final int min, final int max, final Collection choices, final T selected, final Function display) { - if ((choices != null && !choices.isEmpty() && choices.iterator().next() instanceof GameObject) || selected instanceof GameObject) { + /*if ((choices != null && !choices.isEmpty() && choices.iterator().next() instanceof GameObject) || selected instanceof GameObject) { System.err.println("Warning: GameObject passed to GUI! Printing stack trace."); Thread.dumpStack(); - } + }*/ return GuiChoose.getChoices(message, min, max, choices, selected, display); } @Override public List order(final String title, final String top, final int remainingObjectsMin, final int remainingObjectsMax, final List sourceChoices, final List destChoices, final CardView referenceCard, final boolean sideboardingMode) { - if ((sourceChoices != null && !sourceChoices.isEmpty() && sourceChoices.iterator().next() instanceof GameObject) + /*if ((sourceChoices != null && !sourceChoices.isEmpty() && sourceChoices.iterator().next() instanceof GameObject) || (destChoices != null && !destChoices.isEmpty() && destChoices.iterator().next() instanceof GameObject)) { System.err.println("Warning: GameObject passed to GUI! Printing stack trace."); Thread.dumpStack(); - } + }*/ return GuiChoose.order(title, top, remainingObjectsMin, remainingObjectsMax, sourceChoices, destChoices, referenceCard, sideboardingMode); }