Fix PopSound giving failed click sound. (#829)

This commit is contained in:
Muqsit Rayyan 2017-04-15 12:02:00 +03:00 committed by Dylan K. Taylor
parent f2159c5948
commit 8a775e0c45

View File

@ -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);
}
}