예제 #1
0
  @Override
  public void setFactionStatus(int factionStatus) {
    synchronized (objectMutex) {
      this.factionStatus = factionStatus;
    }

    notifyObservers(messageBuilder.buildFactionStatusDelta(factionStatus), true);
    // updatePvpStatus();
  }
예제 #2
0
  @Override
  public void setFactionStatus(int factionStatus) {
    synchronized (objectMutex) {
      this.factionStatus = factionStatus;
    }

    notifyObservers(messageBuilder.buildFactionStatusDelta(factionStatus), true);

    CreatureObject companion = NGECore.getInstance().mountService.getCompanion(this);

    if (companion != null) {
      companion.setFactionStatus(factionStatus);
    }
  }