Instance implementation

This commit is contained in:
Treeku
2014-03-19 19:43:29 +00:00
parent 0633c410be
commit 0ef12787bb
10 changed files with 931 additions and 5 deletions
+4 -2
View File
@@ -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);