Fix NPE when writing ServerChunkDataPacket if the chunk array is empty. Fixes further issues with #16