mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Added building privacy toggle
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user