mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-08-01 01:16:02 -04:00
Fixed ConcurrentModificationException when deleting character
This commit is contained in:
@@ -336,7 +336,7 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
|
||||
* @return An unmodifiable {@link Collection} of {@link SWGObject}'s in the container
|
||||
*/
|
||||
public Collection<SWGObject> getContainedObjects() {
|
||||
return Collections.unmodifiableCollection(containedObjects.values());
|
||||
return new ArrayList<>(containedObjects.values());
|
||||
}
|
||||
|
||||
public boolean hasSlot(String slotName) {
|
||||
|
||||
Reference in New Issue
Block a user