mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
BlockFactory: change property cache arrays to use regular arrays instead of SplFixedArray
this does come at a performance cost, but is necessary for metadata expansion. we finally concede that this is not going to happen without BC breaks, however small they might be ...
This commit is contained in:
@ -137,7 +137,6 @@ class BlockTest extends TestCase{
|
||||
*/
|
||||
public function testLightFiltersValid() : void{
|
||||
foreach($this->blockFactory->lightFilter as $id => $value){
|
||||
self::assertNotNull($value, "Light filter value missing for $id");
|
||||
self::assertLessThanOrEqual(15, $value, "Light filter value for $id is larger than the expected 15");
|
||||
self::assertGreaterThan(0, $value, "Light filter value for $id must be larger than 0");
|
||||
}
|
||||
|
Reference in New Issue
Block a user