diff options
author | Wesley Wolfe <weswolf@aol.com> | 2013-01-05 16:22:34 -0600 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-01-05 17:20:39 -0600 |
commit | 1c32f297606b89d663d664b74951575ba9eb7e1b (patch) | |
tree | 54ee8bcda583045b01999c33545335cf96aa607d /src/site | |
parent | 87e41b0d13fcaece914c58a9e3321403b5db9290 (diff) | |
download | bukkit-1c32f297606b89d663d664b74951575ba9eb7e1b.tar bukkit-1c32f297606b89d663d664b74951575ba9eb7e1b.tar.gz bukkit-1c32f297606b89d663d664b74951575ba9eb7e1b.tar.lz bukkit-1c32f297606b89d663d664b74951575ba9eb7e1b.tar.xz bukkit-1c32f297606b89d663d664b74951575ba9eb7e1b.zip |
Clarify dye and wool color datas in DyeColor. Addresses BUKKIT-2786
DyeColor used the wool data for getData(), which is very misleading based
on class name. The old method has been deprecated and replaced with
getWoolData() and getDyeData() for the appropriate types of data values.
The MaterialData classes Dye and Wool were updated appropriately,
especially Dye innapropriately using a DyeColor data value compensation.
Unit tests were added for the new methods, as well as the getColor on Dye
and Wool.
Diffstat (limited to 'src/site')
0 files changed, 0 insertions, 0 deletions