mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Rename addTitle/addSubTitle/addActionBarMessage prefixes to "send", deprecated old variants
closes #2896 these deprecated methods will be removed in 4.0.
This commit is contained in:
committed by
Dylan K. Taylor
parent
d850a84d0d
commit
932c489de1
@ -1872,7 +1872,7 @@ class Server{
|
||||
|
||||
/** @var Player[] $recipients */
|
||||
foreach($recipients as $recipient){
|
||||
$recipient->addTitle($title, $subtitle, $fadeIn, $stay, $fadeOut);
|
||||
$recipient->sendTitle($title, $subtitle, $fadeIn, $stay, $fadeOut);
|
||||
}
|
||||
|
||||
return count($recipients);
|
||||
|
Reference in New Issue
Block a user