mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-11 01:13:02 -04:00
Changed raw addObject to moveToContainer in StaticService
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user