diff --git a/src/test/java/org/bukkit/DyeColorsTest.java b/src/test/java/org/bukkit/DyeColorsTest.java index 7d45d2ff5b..2ce79456cd 100644 --- a/src/test/java/org/bukkit/DyeColorsTest.java +++ b/src/test/java/org/bukkit/DyeColorsTest.java @@ -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))); } }