mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added some sounds, fixed DestroyBlockParticle wrong particles for blocks with different meta values
This commit is contained in:
@ -31,7 +31,7 @@ class DestroyBlockParticle extends Particle{
|
||||
|
||||
public function __construct(Vector3 $pos, Block $b){
|
||||
parent::__construct($pos->x, $pos->y, $pos->z);
|
||||
$this->data = $b->getId() + ($b->getDamage() << 12);
|
||||
$this->data = $b->getId() | ($b->getDamage() << 8);
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user