* Fixed a bug of Exchange control were activated abilities got the wrong controller.

This commit is contained in:
LevelX2 2014-12-27 02:18:29 +01:00
parent 6c93ba1285
commit 18e4bc7f18
4 changed files with 60 additions and 3 deletions

View file

@ -106,7 +106,7 @@ class GildedDrakeEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent sourceObject = game.getPermanent(source.getSourceId());
Permanent targetPermanent = null;
Permanent targetPermanent;
Player controller = game.getPlayer(source.getControllerId());
if (controller != null) {
if (targetPointer.getFirst(game, source) != null) {