Update test to reflect Mojang changes [skip ci]

This commit is contained in:
embeddedt 2023-07-06 22:10:03 -04:00
parent 8325a8ba02
commit 29f7badbfb
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -18,14 +18,13 @@ public class BlockStateCacheTest {
}
/**
* Initially, the cache should be invalid, and null.
* Initially, the cache should be invalid.
*/
@Test
@Order(1)
public void testCacheNullInitially() {
BlockState stoneBlock = Blocks.STONE.defaultBlockState();
assertTrue(((IBlockState)stoneBlock).isCacheInvalid());
assertNull(stoneBlock.cache);
}
/**