forked from External/mage
[BNG] Some fixes.
This commit is contained in:
parent
cbff048241
commit
6a638051f6
7 changed files with 64 additions and 48 deletions
|
|
@ -104,7 +104,7 @@ public class PutTopCardOfLibraryIntoGraveEachPlayerEffect extends OneShotEffect<
|
|||
}
|
||||
|
||||
private void putCardsToGravecard(UUID playerId, Ability source, Game game) {
|
||||
Player player = game.getPlayer(id);
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
int cardsCount = Math.min(numberCards, player.getLibrary().size());
|
||||
for (int i = 0; i < cardsCount; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue