diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/bukkit/DyeColorsTest.java | 2 | ||||
-rw-r--r-- | src/test/java/org/bukkit/PerMaterialTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/bukkit/DyeColorsTest.java b/src/test/java/org/bukkit/DyeColorsTest.java index 2ce79456..8e252c0d 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.getDyeData()]; + int nmsColor = ItemDye.c[dye.getDyeData()]; assertThat(color, is(Color.fromRGB(nmsColor))); } } diff --git a/src/test/java/org/bukkit/PerMaterialTest.java b/src/test/java/org/bukkit/PerMaterialTest.java index da2b46c1..f55920bf 100644 --- a/src/test/java/org/bukkit/PerMaterialTest.java +++ b/src/test/java/org/bukkit/PerMaterialTest.java @@ -122,7 +122,7 @@ public class PerMaterialTest extends AbstractTestingBase { @Test public void isOccluding() { if (material.isBlock()) { - assertThat(material.isOccluding(), is(Block.i(material.getId()))); + assertThat(material.isOccluding(), is(Block.l(material.getId()))); } else { assertFalse(material.isOccluding()); } |