mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Update unit test to reflect firework color fix. Fixes BUKKIT-3382
The ItemDye color-int array uses dye data values, not wool.
This commit is contained in:
parent
182681e384
commit
43865e8e67
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class DyeColorsTest extends AbstractTestingBase {
|
|||
@Test
|
||||
public void checkFireworkColor() {
|
||||
Color color = dye.getFireworkColor();
|
||||
int nmsColor = ItemDye.b[dye.getWoolData()];
|
||||
int nmsColor = ItemDye.b[dye.getDyeData()];
|
||||
assertThat(color, is(Color.fromRGB(nmsColor)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue