Changed raw addObject to moveToContainer in StaticService

This commit is contained in:
Obique PSWG
2017-01-13 13:33:01 -06:00
parent 5c36847c08
commit 6fcf94b76d
+1 -1
View File
@@ -137,7 +137,7 @@ public class StaticService extends Service {
loc.setHeading(heading);
SWGObject obj = ObjectCreator.createObjectFromTemplate(iff);
obj.setLocation(loc);
parent.addObject(obj);
obj.moveToContainer(parent);
new ObjectCreatedIntent(obj).broadcast();
return obj;
}