Fixed empty block handling after blockstate ID XOR change

This commit is contained in:
Dylan K. Taylor
2023-05-29 18:26:23 +01:00
parent 5a9cdef40c
commit 8744032ab6
8 changed files with 25 additions and 21 deletions

View File

@ -119,4 +119,9 @@ class BlockTest extends TestCase{
self::assertSame($name, $states[$k]->getName());
}
}
public function testEmptyStateId() : void{
$block = $this->blockFactory->fromStateId(Block::EMPTY_STATE_ID);
self::assertInstanceOf(Air::class, $block);
}
}