Fixed broken commands

Some of the commands like eat and pickup were broken due to missing
player reference.