@Override public void setFaction(String faction) { synchronized (objectMutex) { this.faction = faction; } notifyObservers(messageBuilder.buildFactionDelta(faction), true); // updatePvpStatus(); }
@Override public void setFaction(String faction) { synchronized (objectMutex) { this.faction = faction; } notifyObservers(messageBuilder.buildFactionDelta(faction), true); CreatureObject companion = NGECore.getInstance().mountService.getCompanion(this); if (companion != null) { companion.setFaction(faction); } }