mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Cloning Window sent on zone-in if dead
This commit is contained in:
@@ -81,6 +81,7 @@ import resources.objects.tangible.TangibleObject;
|
||||
import resources.common.*;
|
||||
import resources.common.collidables.AbstractCollidable;
|
||||
import resources.datatables.PlayerFlags;
|
||||
import resources.datatables.Posture;
|
||||
import services.ai.LairActor;
|
||||
import toxi.geom.Line3D;
|
||||
import toxi.geom.Ray3D;
|
||||
@@ -815,6 +816,9 @@ public class SimulationService implements INetworkDispatch {
|
||||
if(object.getGroupId() != 0 && core.objectService.getObject(object.getGroupId()) instanceof GroupObject)
|
||||
object.makeAware(core.objectService.getObject(object.getGroupId()));
|
||||
|
||||
if(object.getPosture() == Posture.Dead)
|
||||
core.playerService.sendCloningWindow(object, false);
|
||||
|
||||
}
|
||||
|
||||
public void transferToPlanet(SWGObject object, Planet planet, Point3D newPos, Quaternion newOrientation, SWGObject newParent) {
|
||||
|
||||
Reference in New Issue
Block a user