mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Sourcedove a bit to get the syntax on moveCardToLibraryWithInfo()
This commit is contained in:
parent
9533a513be
commit
ce5d03446f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class ChaosWarpShuffleIntoLibraryEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source));
|
||||
if (permanent != null) {
|
||||
if (game.getPlayer(permanent.getOwnerId()).moveCardToLibrary(permanent)) {
|
||||
if (game.getPlayer(permanent.getOwnerId()).moveCardToLibraryWithInfo(permanent, source.getSourceID(), game, null, true, true)) {
|
||||
game.getPlayer(permanent.getOwnerId()).shuffleLibrary(game);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue