mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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:
parent
707faef0f7
commit
f669677d17
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user