Implemented Jukebox & Records (#3742)

Co-authored-by: Dylan K. Taylor <odigiman@gmail.com>
This commit is contained in:
Jack Honour
2020-08-07 21:07:58 +01:00
committed by GitHub
parent 2545897fc2
commit ff2a3baa8e
14 changed files with 461 additions and 13 deletions

View File

@ -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
*