Suppressed Move Failure print for logged out creature objects

This commit is contained in:
Obique PSWG
2016-10-29 13:38:01 -05:00
parent 85c37226ee
commit 539ea9e49d
+2 -1
View File
@@ -126,7 +126,8 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
@Override
public void onMoveFailure(SWGObject obj) {
Log.e(this, "Move failure! %s", obj);
if (!(obj instanceof CreatureObject) || ((CreatureObject) obj).isLoggedInPlayer())
Log.e(this, "Move failure! %s", obj);
obj.clearObjectsAware();
}