don't build packets that are not going to be sent
Merge pull request #479 from AartBluestoke/mc17-0.9

don't build packets that are not going to be sent