Archived
0

fix: unknown BlockType.DIAMOND_ORE

This commit is contained in:
2018-12-17 10:32:56 +03:00
parent c344934cf8
commit d712e41be9

View File

@@ -106,7 +106,7 @@ class RegionTest {
} else if (x == 0 && z == 15) { } else if (x == 0 && z == 15) {
assertEquals(BlockType.ANDESITE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z)); assertEquals(BlockType.ANDESITE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
} else if (x == 0 || x == 15 || z == 0 || z == 15) { } else if (x == 0 || x == 15 || z == 0 || z == 15) {
assertEquals(BlockType.DIAMOND_ORE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z)); assertEquals(BlockType.ORE_DIAMOND, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
} else { } else {
assertEquals(BlockType.AIR, block.getBlockType(), String.format("coords: %d %d %d", x, y, z)); assertEquals(BlockType.AIR, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
} }