Fix incorrect server response to inventory command

Sending get_obj_commands while in inventory screen was causing a server error due to this.