Fixed InputCommands. Needs client fix.
Merge pull request #599 from MCManCub/master

Fix to InputCommands. Needs additional safety fix.