Fixed a few bugs in regards to the automatic logout group removal and fixed some duplicate messages being sent.

This commit is contained in:
Skyler Lehan
2016-06-02 17:33:13 -04:00
parent 434e82d3f4
commit 337ccd4b37
2 changed files with 42 additions and 58 deletions
+5 -1
View File
@@ -131,10 +131,14 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
removeCustomAware(object);
}
public long getLeader() {
public long getLeaderID() {
return leader;
}
public Player getLeaderPlayer() {
return this.groupMembers.get(0).playerCreo.getOwner();
}
public void setLeader(CreatureObject object) {
this.leader = object.getObjectId();