Reworked emblems

This commit is contained in:
magenoxx 2012-06-12 16:27:28 +04:00
parent 2a5ceefe94
commit c22f0cf503
8 changed files with 56 additions and 16 deletions

View file

@ -68,6 +68,11 @@ public class Emblem implements CommandObject {
this.abilites = emblem.abilites.copy();
}
@Override
public void assignNewId() {
this.id = UUID.randomUUID();
}
@Override
public UUID getSourceId() {
return this.sourceId;
@ -78,7 +83,7 @@ public class Emblem implements CommandObject {
return this.controllerId;
}
public void setControllerId(UUID controllerId) {
public void setControllerId(UUID controllerId) {
this.controllerId = controllerId;
this.abilites.setControllerId(controllerId);
}