proper return val on null

This commit is contained in:
Matt Parnell
2014-10-05 01:02:02 -05:00
parent 572cb9c128
commit d2f81b7dc4
+2 -1
View File
@@ -576,7 +576,8 @@ public class ObjectService implements INetworkDispatch {
System.err.println("getObject(): object is null but objectList contains objectID key");
} else {
System.err.println("getObject(): object of id "+ objectID + "is null. Destroying object.");
destroyObject(object,0);
destroyObject(object,0);
return null;
}
}