mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Implemented Jukebox & Records (#3742)
Co-authored-by: Dylan K. Taylor <odigiman@gmail.com>
This commit is contained in:
@@ -792,6 +792,13 @@ class NetworkSession{
|
||||
$this->sendDataPacket(TextPacket::translation($key, $parameters));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string[] $parameters
|
||||
*/
|
||||
public function onJukeboxPopup(string $key, array $parameters) : void{
|
||||
$this->sendDataPacket(TextPacket::jukeboxPopup($key, $parameters));
|
||||
}
|
||||
|
||||
public function onPopup(string $message) : void{
|
||||
$this->sendDataPacket(TextPacket::popup($message));
|
||||
}
|
||||
|
Reference in New Issue
Block a user