mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Implemented Jukebox & Records (#3742)
Co-authored-by: Dylan K. Taylor <odigiman@gmail.com>
This commit is contained in:
@ -1851,6 +1851,15 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string[] $args
|
||||
*/
|
||||
public function sendJukeboxPopup(string $key, array $args) : void{
|
||||
if($this->networkSession !== null){
|
||||
$this->networkSession->onJukeboxPopup($key, $args);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends a popup message to the player
|
||||
*
|
||||
|
Reference in New Issue
Block a user