mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-15 05:13:14 -04:00
Changed DOIds to be safer, added reusableIds
DOIds are still 100% needed for instances. ReusableIds will be ideal for staticService and many other locations where you know the object is only temporary to that session.
This commit is contained in:
@@ -140,7 +140,8 @@ public class StaticService implements INetworkDispatch {
|
||||
}
|
||||
|
||||
//long objectId = core.objectService.getDOId(planetName, template, 0, buildingId, cellNumber, x, y, z);
|
||||
long objectId = 0;
|
||||
long objectId = core.objectService.getReusableId();
|
||||
//long objectId = 0;
|
||||
SWGObject object = null;
|
||||
|
||||
MobileTemplate mobileTemplate = core.spawnService.getMobileTemplate(template);
|
||||
|
||||
Reference in New Issue
Block a user