mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Fix PopSound giving failed click sound. (#829)
This commit is contained in:
parent
f2159c5948
commit
8a775e0c45
@ -26,6 +26,6 @@ use pocketmine\network\mcpe\protocol\LevelEventPacket;
|
|||||||
|
|
||||||
class PopSound extends GenericSound{
|
class PopSound extends GenericSound{
|
||||||
public function __construct(Vector3 $pos, $pitch = 0){
|
public function __construct(Vector3 $pos, $pitch = 0){
|
||||||
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_CLICK_FAIL, $pitch);
|
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_POP, $pitch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user