Core/PacketIO: Item and Item-Sparse data sending corrected.

Fixes #328.