mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
First look at 3D biome support
This commit is contained in:
@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
namespace pocketmine\world\format;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use pocketmine\data\bedrock\BiomeIds;
|
||||
|
||||
class SubChunkTest extends TestCase{
|
||||
|
||||
@ -31,7 +32,7 @@ class SubChunkTest extends TestCase{
|
||||
* Test that a cloned SubChunk instance doesn't influence the original
|
||||
*/
|
||||
public function testClone() : void{
|
||||
$sub1 = new SubChunk(0, []);
|
||||
$sub1 = new SubChunk(0, [], new PalettedBlockArray(BiomeIds::OCEAN));
|
||||
|
||||
$sub1->setFullBlock(0, 0, 0, 1);
|
||||
$sub1->getBlockLightArray()->set(0, 0, 0, 1);
|
||||
|
Reference in New Issue
Block a user