Fixed NGE-397 'Deleted characters get removed properly'

This commit is contained in:
Obique PSWG
2016-05-29 17:55:44 -05:00
parent 007eb4136f
commit 6c3e0c612c
2 changed files with 42 additions and 1 deletions
+2 -1
View File
@@ -286,7 +286,8 @@ public class ObjectAwareness extends Service {
return;
QuadTree <SWGObject> tree = getTree(l);
synchronized (tree) {
tree.put(l.getX(), l.getZ(), object);
if (!tree.get(l.getX(), l.getZ()).contains(object))
tree.put(l.getX(), l.getZ(), object);
}
}