refactor: fixed wrong copy code of some fields

This commit is contained in:
Oleg Agafonov 2025-01-22 19:35:43 +04:00
parent 3f79ffa21a
commit e6ae7e9114
2 changed files with 4 additions and 4 deletions

View file

@ -366,7 +366,7 @@ public abstract class PlayerImpl implements Player, Serializable {
this.canPlotFromTopOfLibrary = player.canPlotFromTopOfLibrary();
this.drawsFromBottom = player.isDrawsFromBottom();
this.drawsOnOpponentsTurn = player.isDrawsOnOpponentsTurn();
this.alternativeSourceCosts = CardUtil.deepCopyObject(player.getAlternativeSourceCosts());
this.alternativeSourceCosts = CardUtil.deepCopyObject(((PlayerImpl) player).alternativeSourceCosts);
this.topCardRevealed = player.isTopCardRevealed();