mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Added bindLocation variable, clone location shows bind spot in yellow, fixed incap and db messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user