Bukkit/CraftBukkit — pull request #600 by DDoSQc (2011-12-16 17:21:32+00:00)
Title: Adding equals and hashCode methods to CraftBlockState

Adding equals and hashCode methods to CraftBlockState

Adds the equals and hashCode methods to CraftBlockState. Just makes dealing with those easier (mostly concerning collections, and the contains and containsAll methods). I didn't include the light data as it changes too much, and isn't relevant in most applications.

The hashCode method might need some changes, so far I've been told it's ok, but if it's not, tell me.