Check in handlePlayerMove, if the event was triggered on the server side.
Fixed bug (wrong semicolon)
Merge pull request #1009 from olee/1710

Fixed 2 bugs