mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Fixed empty block handling after blockstate ID XOR change
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user