From 377a0edec9f2728e176dd97a543b9814abcb5daa Mon Sep 17 00:00:00 2001 From: Samuel Sandeen Date: Thu, 15 Sep 2016 19:20:04 -0400 Subject: [PATCH] Fix a bug in the cheat system for manual testing. --- Mage.Server/src/main/java/mage/server/util/SystemUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage.Server/src/main/java/mage/server/util/SystemUtil.java b/Mage.Server/src/main/java/mage/server/util/SystemUtil.java index 0e40dd5d1a..aee752c060 100644 --- a/Mage.Server/src/main/java/mage/server/util/SystemUtil.java +++ b/Mage.Server/src/main/java/mage/server/util/SystemUtil.java @@ -132,6 +132,7 @@ public class SystemUtil { card.putOntoBattlefield(game, Zone.EXILED, null, player.getId()); } else if (zone.equals(Zone.LIBRARY)) { card.setZone(Zone.LIBRARY, game); + game.getExile().getPermanentExile().remove(card); player.getLibrary().putOnTop(card, game); } else { card.moveToZone(zone, null, game, false);