mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-17 07:02:54 -04:00
Fixed the issue with getting the disband message twice
GroupObject - getGroupMemberObjects() returns a HashSet now GroupService - uses a HashSet for sendGroupSystemMessage
This commit is contained in:
@@ -41,8 +41,8 @@ import java.io.IOException;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.Serializable;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -194,9 +194,9 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
|
||||
return members;
|
||||
}
|
||||
|
||||
public ArrayList<CreatureObject> getGroupMemberObjects() {
|
||||
public HashSet<CreatureObject> getGroupMemberObjects() {
|
||||
|
||||
ArrayList<CreatureObject> memberObjects = new ArrayList<>();
|
||||
HashSet<CreatureObject> memberObjects = new HashSet<>();
|
||||
|
||||
synchronized (groupMembers) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user