Beispiel #1
0
  public void setOwnerId(long ownerId) {
    synchronized (objectMutex) {
      this.ownerId = ownerId;
    }

    setStringAttribute(
        "owner", NGECore.getInstance().objectService.getObject(ownerId).getCustomName());

    notifyObservers(messageBuilder.buildOwnerIdDelta(ownerId), true);
  }
Beispiel #2
0
 public void setOwnerId(long ownerId) {
   synchronized (objectMutex) {
     this.ownerId = ownerId;
   }
   notifyObservers(messageBuilder.buildOwnerIdDelta(ownerId), true);
 }