mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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{
|
||||
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