SpoutDev/Vanilla — pull request #79 by spacechase0 (2012-03-07 18:46:36+00:00)
Title: Fixed bug with material data not being sent when needed.

Some items (pickaxes, shovels, ...) use ``ItemStack.getDamage()`` for durability, while others (wool, spawn eggs, ...) use ``Material.getData()``. The protocol only lets you send one, so this makes it where it sends the damage for tools, and data for other items.

Signed-off-by: Chase W