mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
Exception handling for Harvester Service future executor handler
This should show any runtime exceptions of the Runnable(), because something kills the task after some time, probably an exception.
This commit is contained in:
@@ -397,8 +397,7 @@ public class ObjectService implements INetworkDispatch {
|
||||
|
||||
float positionY = core.terrainService.getHeight(planet.getID(), position.x, position.z)-1f;
|
||||
Point3D newpoint = new Point3D(position.x,positionY,position.z);
|
||||
object = new HarvesterObject(objectID, planet, Template, newpoint, orientation);
|
||||
core.harvesterService.addHarvester(object);
|
||||
object = new HarvesterObject(objectID, planet, Template, newpoint, orientation);
|
||||
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user