@Override public void setFactionStatus(int factionStatus) { synchronized (objectMutex) { this.factionStatus = factionStatus; } notifyObservers(messageBuilder.buildFactionStatusDelta(factionStatus), true); // updatePvpStatus(); }
@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); } }