updated to work with spigot protocol update 1.7-1.8