forked from External/mage
fixes
This commit is contained in:
parent
19ae34969e
commit
c61881e5df
9 changed files with 36 additions and 13 deletions
|
|
@ -83,6 +83,7 @@ import mage.players.PlayerList;
|
|||
import mage.players.Players;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.util.Logging;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializable {
|
||||
|
||||
|
|
@ -156,6 +157,10 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
for (Card card: cards) {
|
||||
card.setOwnerId(ownerId);
|
||||
gameCards.put(card.getId(), card);
|
||||
for (Watcher watcher: card.getWatchers()) {
|
||||
watcher.setControllerId(ownerId);
|
||||
state.getWatchers().add(watcher);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue