fixed declare residency bugs

This commit is contained in:
Light2
2014-06-10 23:34:17 +02:00
parent 4afec98204
commit 721634b406
4 changed files with 49 additions and 23 deletions
@@ -223,8 +223,7 @@ public class BuildingObject extends TangibleObject implements IPersistent, Seria
return (boolean) otherVariables.get("residency");
}
public void setResidency(CreatureObject owner){
owner.sendSystemMessage("@player_structure:declared_residency", (byte) 1);
public void setResidency() {
otherVariables.set("residency", true);
}