mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Updated Normal generator
This commit is contained in:
@ -80,7 +80,8 @@ class Ore{
|
||||
$sizeZ *= $sizeZ;
|
||||
|
||||
if(($sizeX + $sizeY + $sizeZ) < 1 and $level->getBlockIdAt($x, $y, $z) === 1){
|
||||
$level->setBlockIdAt($x, $y, $z, $this->type->material);
|
||||
$level->setBlockIdAt($x, $y, $z, $this->type->material->getID());
|
||||
$level->setBlockDataAt($x, $y, $z, $this->type->material->getDamage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user