synchronized (gameObjects) {
for(String id : ids) {
final GameObject gameObject = gameObjects.get(id);
if (!gameObject.alive()) {
gameObjects.remove(gameObject);
notifyClientRemoved(new ClientRemovedEvent(null, gameObject.getId()));
continue;
}
synchronized (gameObject) {
final GameObjectLocation oldLocation = gameObject.getLocation();