Stopped sending obj created intent with buildouts. Now sends ObjectCreatedIntent upon creating any non-buildout object

This commit is contained in:
Obique PSWG
2015-09-29 09:00:43 -05:00
parent 241d1c438c
commit 35aeb31595
2 changed files with 7 additions and 26 deletions
-17
View File
@@ -118,23 +118,6 @@ public class ObjectManager extends Manager {
return super.initialize();
}
@Override
public boolean start() {
Log.i("ObjectManager", "Starting object manager...");
synchronized (objectMap) {
int i = 0;
for (SWGObject obj : objectMap.values()) {
if (obj.isBuildout()) {
new ObjectCreatedIntent(obj).broadcast();
Log.d("ObjectManager", "%d / %d", i, objectMap.size());
}
i++;
}
}
Log.i("ObjectManager", "Started object manager.");
return super.start();
}
private void loadObjects() {
long startLoad = System.nanoTime();
Log.i("ObjectManager", "Loading objects from ObjectDatabase...");