From 45191930f08159aa02c6f7bfbb7780237065b4c0 Mon Sep 17 00:00:00 2001 From: Agetian Date: Tue, 20 Jan 2015 16:02:41 +0000 Subject: [PATCH] - Fixed the Clash effect not revealing the card to the player when asking whether to put the card on the top or on the bottom of the library (possibly also fixes other similar effects that query the player via willPutCardOnTop). --- .../src/main/java/forge/player/PlayerControllerHuman.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java index 283f1db12b6..4791e3a1c6e 100644 --- a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java +++ b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java @@ -607,7 +607,12 @@ public class PlayerControllerHuman extends PlayerController { @Override public boolean willPutCardOnTop(final Card c) { final CardView view = CardView.get(c); - return SGuiDialog.confirm(view, "Put " + view + " on the top or bottom of your library?", new String[]{"Top", "Bottom"}); + + tempShowCard(c); + boolean result = SGuiDialog.confirm(view, "Put " + view + " on the top or bottom of your library?", new String[]{"Top", "Bottom"}); + endTempShowCards(); + + return result; } @Override