Updated buildouts again to load more efficiently and clean up code

This commit is contained in:
Obique PSWG
2016-01-16 02:11:46 -06:00
parent ea35f739d1
commit 6945875444
4 changed files with 118243 additions and 118205 deletions
+6 -3
View File
@@ -27,10 +27,9 @@
***********************************************************************************/
package services.objects;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@@ -122,7 +121,11 @@ public class ObjectManager extends Manager {
}
private void loadClientObjects() {
clientBuildoutService.loadClientObjects();
Collection<SWGObject> objects = clientBuildoutService.loadClientObjects();
for (SWGObject object : objects) {
putObject(object);
new ObjectCreatedIntent(object).broadcast();
}
}
private void loadObject(SWGObject obj) {