Added bindLocation variable, clone location shows bind spot in yellow, fixed incap and db messages

This commit is contained in:
Waverunner
2014-05-10 16:38:59 -04:00
parent 994340373d
commit b5344eab07
5 changed files with 43 additions and 17 deletions
@@ -153,6 +153,7 @@ public class PlayerObject extends IntangibleObject implements Serializable {
private long bountyMissionId;
private Vector<Long> ownedVendors = new Vector<Long>();
private long bindLocation;
public PlayerObject() {
super();
@@ -939,5 +940,17 @@ public class PlayerObject extends IntangibleObject implements Serializable {
public int getAmountOfVendors() {
return ownedVendors.size();
}
public long getBindLocation() {
synchronized(objectMutex) {
return bindLocation;
}
}
public void setBindLocation(long bindLocation) {
synchronized(objectMutex) {
this.bindLocation = bindLocation;
}
}
}