Fixed NullPointerException when equipping items

Fixed bug where items without locations (food or potions) threw a
NullPointerException when being equipped. Fixed client so that multi-word
commands can be used.