Added building privacy toggle

This commit is contained in:
Light2
2014-06-09 19:16:23 +02:00
parent 69ba63fcd2
commit bd596c0fce
2 changed files with 10 additions and 1 deletions
@@ -244,7 +244,8 @@ public class BuildingObject extends TangibleObject implements IPersistent, Seria
}
public void setPrivacy(byte privacy) {
otherVariables.set("residency", privacy);
otherVariables.set("privacy", privacy);
getObservers().stream().map(Client::getParent).forEach(this::updateCellPermissions);
}
public Vector<TangibleObject> getItemsList() {