Sourcedove a bit to get the syntax on moveCardToLibraryWithInfo()

This commit is contained in:
MitchelStein 2014-08-17 05:47:03 -07:00
parent 9533a513be
commit ce5d03446f

View file

@ -100,7 +100,7 @@ class ChaosWarpShuffleIntoLibraryEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source)); Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source));
if (permanent != null) { 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); game.getPlayer(permanent.getOwnerId()).shuffleLibrary(game);
return true; return true;
} }