Fix compatibility with server versions below 1.7
Merge pull request #1 from games647/compatibility

Fix compatibility with server versions below 1.7