mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-15 05:13:14 -04:00
Refactored Building and Harvester Permission Lists, fixed AI pathing into cells
This commit is contained in:
@@ -515,6 +515,7 @@ public class SimulationService implements INetworkDispatch {
|
||||
}
|
||||
|
||||
Point3D newPos = new Point3D(dataTransform.getXPosition(), dataTransform.getYPosition(), dataTransform.getZPosition());
|
||||
newPos.setCell((CellObject) parent);
|
||||
if(Float.isNaN(newPos.x) || Float.isNaN(newPos.y) || Float.isNaN(newPos.z))
|
||||
return;
|
||||
Point3D oldPos = object.getPosition();
|
||||
|
||||
Reference in New Issue
Block a user