Added Colorable interface, and made Sheep, Wool and Dye implement it.

Inspired by xpansive

By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
Bukkit/Spigot committed 2011-02-12 12:28:38 +11:00
1 parent fd090160f2
commit a3f7361535
4 files changed
+31 -3

No files matched your search

@@ -7,7 +7,7 @@ import org.bukkit.Material;
/**
* Represents dye
*/
public class Dye extends MaterialData {
public class Dye extends MaterialData implements Colorable {
public Dye(final int type) {
super(type);
}