Fixed SWGList and SWGMap sending excessive data after a delta and then relogging, which often lead to a "blue ghost" for equipment

Blue Ghost. Never Forget. RIP.
This commit is contained in:
Waverunner
2015-06-06 18:02:56 -04:00
parent 81e9b8f0b0
commit fd723f18d3
4 changed files with 21 additions and 7 deletions
+2
View File
@@ -579,6 +579,8 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
}
private void sendUpdatedContainment(List<SWGObject> oldObservers, List<SWGObject> newObservers) {
if (parent == null)
return;
List<SWGObject> same = new ArrayList<>(oldObservers);
same.retainAll(newObservers);