mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed Collective Voyage giving players all basic lands when 0 total mana was paid. Closes #9377
This commit is contained in:
parent
10f1e01ea7
commit
ddf131570d
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class CollectiveVoyageEffect extends OneShotEffect {
|
|||
}
|
||||
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
if (player != null && xSum != 0) {
|
||||
TargetCardInLibrary target = new TargetCardInLibrary(0, xSum, StaticFilters.FILTER_CARD_BASIC_LAND);
|
||||
if (player.searchLibrary(target, source, game)) {
|
||||
toBattlefield.addAll(new CardsImpl(target.getTargets()).getCards(game));
|
||||
|
|
Loading…
Reference in a new issue