forked from External/mage
Player under control - fixed that it doesn't hide opponent's hand after control lost (part of #13353);
This commit is contained in:
parent
71b0613355
commit
8d7bd60061
9 changed files with 114 additions and 55 deletions
|
|
@ -1434,7 +1434,7 @@ public final class CardUtil {
|
|||
* @param playerUnderControl
|
||||
*/
|
||||
public static void takeControlUnderPlayerEnd(Game game, Ability source, Player controller, Player playerUnderControl) {
|
||||
playerUnderControl.setGameUnderYourControl(true, false);
|
||||
playerUnderControl.setGameUnderYourControl(game, true, false);
|
||||
if (!playerUnderControl.getTurnControlledBy().equals(controller.getId())) {
|
||||
game.informPlayers(controller.getLogName() + " return control of the turn to " + playerUnderControl.getLogName() + CardUtil.getSourceLogName(game, source));
|
||||
controller.getPlayersUnderYourControl().remove(playerUnderControl.getId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue