mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
BlockTest: fixed failing test
this is a bad fix, but it doesn't matter a whole lot. The problem stems from furnace not having a valid 0 variant, so things go haywire when the default mapped 0 variant is registered to LIT_FURNACE because the default state is of course unlit.
This commit is contained in:
@ -123,7 +123,7 @@ class BlockTest extends TestCase{
|
||||
public function testBlockIds() : void{
|
||||
for($i = 0; $i < 256; ++$i){
|
||||
$b = BlockFactory::get($i);
|
||||
self::assertEquals($i, $b->getId());
|
||||
self::assertContains($i, $b->getIdInfo()->getAllBlockIds());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user