Update test to reflect Mojang changes [skip ci]
This commit is contained in:
parent
8325a8ba02
commit
29f7badbfb
|
|
@ -18,14 +18,13 @@ public class BlockStateCacheTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initially, the cache should be invalid, and null.
|
* Initially, the cache should be invalid.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@Order(1)
|
@Order(1)
|
||||||
public void testCacheNullInitially() {
|
public void testCacheNullInitially() {
|
||||||
BlockState stoneBlock = Blocks.STONE.defaultBlockState();
|
BlockState stoneBlock = Blocks.STONE.defaultBlockState();
|
||||||
assertTrue(((IBlockState)stoneBlock).isCacheInvalid());
|
assertTrue(((IBlockState)stoneBlock).isCacheInvalid());
|
||||||
assertNull(stoneBlock.cache);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user