if (amountExiled > 0) {
int count = Math.min(you.getLibrary().size(), amountExiled);
</BUG>
for (int i = 0; i < count; i++) {
<BUG>Card card = you.getLibrary().removeFromTop(game);
</BUG>
if (card != null) {
<BUG>card.moveToZone(Zone.HAND, id, game, false);
</BUG>
}

if (amountExiled > 0) {
int count = Math.min(controller.getLibrary().size(), amountExiled);
for (int i = 0; i < count; i++) {
Card card = controller.getLibrary().removeFromTop(game);
if (card != null) {
card.moveToZone(Zone.HAND, source.getSourceId(), game, false);
