-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
None
because the DyeColor enum's getData() method is separated into two getWoolData() and getDyeData() (they are deprecated anyway), I recently changed my code like below:
new ItemStack(Material.WOOL, 1, DyeColor.GREEN.getData());
to
new ItemStack(Material.WOOL, 1){{
setData(new Wool(DyeColor.GREEN));
}};
and the actual item I see is just a white wool instead of green wool
did I do something wrong? or is it a bug in 1.11?