mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Added null planet check for transferToPlanet, Fixes #898
This commit is contained in:
@@ -1015,6 +1015,9 @@ public class SimulationService implements INetworkDispatch {
|
||||
|
||||
public void transferToPlanet(SWGObject object, Planet planet, Point3D newPos, Quaternion newOrientation, SWGObject newParent) {
|
||||
|
||||
if (planet == null)
|
||||
return;
|
||||
|
||||
Client client = object.getClient();
|
||||
|
||||
if(client == null)
|
||||
|
||||
Reference in New Issue
Block a user