mirror of
https://github.com/correl/mage.git
synced 2025-04-10 09:11:04 -09:00
* CommanderReplacementEffect - Fixed a bug that caused that the effect was not always applied.
This commit is contained in:
parent
bf3108a0d0
commit
ba8bd5f576
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,7 @@ import mage.players.Player;
|
|||
*/
|
||||
public class CommanderReplacementEffect extends ReplacementEffectImpl<CommanderReplacementEffect> {
|
||||
|
||||
private UUID commanderId;
|
||||
private final UUID commanderId;
|
||||
|
||||
public CommanderReplacementEffect(UUID commanderId) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
||||
|
@ -63,6 +63,7 @@ public class CommanderReplacementEffect extends ReplacementEffectImpl<CommanderR
|
|||
|
||||
public CommanderReplacementEffect(final CommanderReplacementEffect effect) {
|
||||
super(effect);
|
||||
this.commanderId = effect.commanderId;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue