This commit is contained in:
BetaSteward 2010-11-15 03:40:47 +00:00
parent d71f48c2ce
commit e8be81cd34
11 changed files with 28 additions and 24 deletions

View file

@ -70,10 +70,8 @@ public class StackAbility implements StackObject, Ability {
private Ability ability;
private UUID controllerId;
private UUID id;
public StackAbility(Ability ability, UUID controllerId) {
this.id = UUID.randomUUID();
this.ability = ability;
this.controllerId = controllerId;
}
@ -81,7 +79,6 @@ public class StackAbility implements StackObject, Ability {
public StackAbility(final StackAbility spell) {
this.ability = spell.ability.copy();
this.controllerId = spell.controllerId;
this.id = spell.id;
}
@Override
@ -164,7 +161,7 @@ public class StackAbility implements StackObject, Ability {
@Override
public UUID getId() {
return this.id;
return this.ability.getId();
}
@Override