diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 92138677a..4d115ec9a 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -2352,15 +2352,6 @@ 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. */ diff --git a/src/pocketmine/command/defaults/TitleCommand.php b/src/pocketmine/command/defaults/TitleCommand.php index 667eeee08..6a49ec544 100644 --- a/src/pocketmine/command/defaults/TitleCommand.php +++ b/src/pocketmine/command/defaults/TitleCommand.php @@ -82,7 +82,7 @@ class TitleCommand extends VanillaCommand{ throw new InvalidCommandSyntaxException(); } - $player->addActionBarMessage(implode(" ", array_slice($args, 2))); + $player->sendTip(implode(" ", array_slice($args, 2))); break; case "times": if(count($args) < 5){