summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-15 00:08:34 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-15 19:41:18 +0000
commite5bff5a0d0f20f379934e86a9ff3a120aff00bc1 (patch)
tree03469cd6f1513a0d0df35909811a6aff668eddb5 /src
parentb9ada69ddb58d0734af6e4ec2d7610ca2426f4c4 (diff)
downloadbukkit-e5bff5a0d0f20f379934e86a9ff3a120aff00bc1.tar
bukkit-e5bff5a0d0f20f379934e86a9ff3a120aff00bc1.tar.gz
bukkit-e5bff5a0d0f20f379934e86a9ff3a120aff00bc1.tar.lz
bukkit-e5bff5a0d0f20f379934e86a9ff3a120aff00bc1.tar.xz
bukkit-e5bff5a0d0f20f379934e86a9ff3a120aff00bc1.zip
Fixed dye colours
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/DyeColor.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/main/java/org/bukkit/DyeColor.java b/src/main/java/org/bukkit/DyeColor.java
index abac09b5..1bf19fb8 100644
--- a/src/main/java/org/bukkit/DyeColor.java
+++ b/src/main/java/org/bukkit/DyeColor.java
@@ -8,22 +8,22 @@ import java.util.Map;
* All supported color values for dyes and cloth
*/
public enum DyeColor {
- BLACK((byte) 0x0),
- RED((byte) 0x1),
- GREEN((byte) 0x2),
- BROWN((byte) 0x3),
- BLUE((byte) 0x4),
- PURPLE((byte) 0x5),
- CYAN((byte) 0x6),
- SILVER((byte) 0x7),
- GRAY((byte) 0x8),
- PINK((byte) 0x9),
- LIME((byte) 0xA),
- YELLOW((byte) 0xB),
- LIGHT_BLUE((byte) 0xC),
- MAGENTA((byte) 0xD),
- ORANGE((byte) 0xE),
- WHITE((byte) 0xF);
+ WHITE((byte) 0x0),
+ ORANGE((byte) 0x1),
+ MAGENTA((byte) 0x2),
+ LIGHT_BLUE((byte) 0x3),
+ YELLOW((byte) 0x4),
+ LIME((byte) 0x5),
+ PINK((byte) 0x6),
+ GRAY((byte) 0x7),
+ SILVER((byte) 0x8),
+ CYAN((byte) 0x9),
+ PURPLE((byte) 0xA),
+ BLUE((byte) 0xB),
+ BROWN((byte) 0xC),
+ GREEN((byte) 0xD),
+ RED((byte) 0xE),
+ BLACK((byte) 0xF);
private final byte data;
private final static Map<Byte, DyeColor> colors = new HashMap<Byte, DyeColor>();