mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Rename BlockIds -> BlockLegacyIds
This commit is contained in:
@ -90,7 +90,7 @@ class TNT extends Solid{
|
||||
}
|
||||
|
||||
public function ignite(int $fuse = 80) : void{
|
||||
$this->getLevel()->setBlock($this, BlockFactory::get(BlockIds::AIR));
|
||||
$this->getLevel()->setBlock($this, BlockFactory::get(BlockLegacyIds::AIR));
|
||||
|
||||
$mot = (new Random())->nextSignedFloat() * M_PI * 2;
|
||||
$nbt = EntityFactory::createBaseNBT($this->add(0.5, 0, 0.5), new Vector3(-sin($mot) * 0.02, 0.2, -cos($mot) * 0.02));
|
||||
|
Reference in New Issue
Block a user