diff --git a/Mage.Sets/src/mage/cards/d/DeadMansChest.java b/Mage.Sets/src/mage/cards/d/DeadMansChest.java index b76c47f001..a1a00a68cc 100644 --- a/Mage.Sets/src/mage/cards/d/DeadMansChest.java +++ b/Mage.Sets/src/mage/cards/d/DeadMansChest.java @@ -122,7 +122,7 @@ class DeadMansChestEffect extends OneShotEffect { Player owner = game.getPlayer(attachedTo.getOwnerId()); int amount = attachedTo.getPower().getValue(); if (owner != null && amount > 0) { - Set cards = controller.getLibrary().getTopCards(game, amount); + Set cards = owner.getLibrary().getTopCards(game, amount); if (!cards.isEmpty()) { controller.moveCardsToExile(cards, source, game, true, source.getSourceId(), sourceObject.getLogName()); for (Card card : cards) {