Added null planet check for transferToPlanet, Fixes #898

This commit is contained in:
Waverunner
2014-06-18 17:24:45 -04:00
parent 4f76d6593b
commit c98ab37454
+3
View File
@@ -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)