mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
Instance implementation
This commit is contained in:
@@ -203,6 +203,10 @@ public class ConnectionService implements INetworkDispatch {
|
||||
}
|
||||
}
|
||||
|
||||
if (core.instanceService.isInInstance(object)) {
|
||||
core.instanceService.remove(core.instanceService.getActiveInstance(object), object);
|
||||
}
|
||||
|
||||
object.setClient(null);
|
||||
|
||||
PlayerObject ghost = (PlayerObject) object.getSlottedObject("ghost");
|
||||
@@ -210,8 +214,6 @@ public class ConnectionService implements INetworkDispatch {
|
||||
if(ghost == null)
|
||||
return;
|
||||
|
||||
if ()
|
||||
|
||||
Point3D objectPos = object.getWorldPosition();
|
||||
|
||||
List<AbstractCollidable> collidables = core.simulationService.getCollidables(object.getPlanet(), objectPos.x, objectPos.z, 512);
|
||||
|
||||
Reference in New Issue
Block a user