Fix chest slot size conditions.

According to http://wiki.vg/Protocol#Open_Window , the number of slots in the packet should exclude the player inventory.