SirCmpwn/SMProxy — pull request #2 by ammaraskar (2012-09-11 12:11:45+00:00)
Title: Fix tile entity update packet

Absolutely nothing is sent if data length is 0, and the nbt lib pukes errors if you give it empty stuff so wanna avoid that and as seen here data is compressed with gzip:

https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/Packet132TileEntityData.java#L32

https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/Packet.java#L215