High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Bukkit/Spigot d40a2e4fc1 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.

By: Wesley Wolfe <weswolf@aol.com>
2013-01-05 16:22:34 -06:00
paper-api Clarify dye and wool color datas in DyeColor. Addresses BUKKIT-2786 2013-01-05 16:22:34 -06:00