1
0
Fork 0
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:
LevelX2 2013-11-19 16:36:13 +01:00
parent bf3108a0d0
commit ba8bd5f576

View file

@ -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