Revert "Player: removed useless addActionBarMessage()"

This reverts commit 7d22b2a6d7.
This commit is contained in:
Dylan K. Taylor
2019-04-26 15:41:19 +01:00
parent 6a2d1fbdda
commit 6aa8276532
2 changed files with 10 additions and 1 deletions

View File

@ -2279,6 +2279,15 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
$this->sendTitleText($subtitle, SetTitlePacket::TYPE_SET_SUBTITLE);
}
/**
* Adds small text to the user's screen.
*
* @param string $message
*/
public function addActionBarMessage(string $message){
$this->sendTitleText($message, SetTitlePacket::TYPE_SET_ACTIONBAR_MESSAGE);
}
/**
* Removes the title from the client's screen.
*/