корректировка теста RegionTest
This commit is contained in:
@@ -70,7 +70,7 @@ class RegionTest {
|
|||||||
for (int y = 0; y < 16; y++) {
|
for (int y = 0; y < 16; y++) {
|
||||||
for (int x = 0; x < 16; x++) {
|
for (int x = 0; x < 16; x++) {
|
||||||
for (int z = 0; z < 16; z++) {
|
for (int z = 0; z < 16; z++) {
|
||||||
Block block = chunkSection.getBlock(x, y, z);
|
Block block = chunkSection.getBlockLocal(x, y, z);
|
||||||
if (x == 0 && z == 0) {
|
if (x == 0 && z == 0) {
|
||||||
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
|
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
|
||||||
} else if (x == 15 && z == 0) {
|
} else if (x == 15 && z == 0) {
|
||||||
@@ -96,7 +96,7 @@ class RegionTest {
|
|||||||
for (int y = 0; y < 16; y++) {
|
for (int y = 0; y < 16; y++) {
|
||||||
for (int x = 0; x < 16; x++) {
|
for (int x = 0; x < 16; x++) {
|
||||||
for (int z = 0; z < 16; z++) {
|
for (int z = 0; z < 16; z++) {
|
||||||
Block block = chunkSection.getBlock(x, y, z);
|
Block block = chunkSection.getBlockLocal(x, y, z);
|
||||||
if (x == 0 && z == 0) {
|
if (x == 0 && z == 0) {
|
||||||
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
|
assertEquals(BlockType.STONE, block.getBlockType(), String.format("coords: %d %d %d", x, y, z));
|
||||||
} else if (x == 15 && z == 0) {
|
} else if (x == 15 && z == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user