changed packets to work with NBT