Fixed chat and some TextContainer documentation issues

This commit is contained in:
Dylan K. Taylor
2017-06-04 10:27:04 +01:00
parent bd7205dd64
commit 5aea9220c9
5 changed files with 9 additions and 8 deletions

View File

@ -3566,7 +3566,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
/**
* Sends a direct chat message to a player
*
* @param string|TextContainer $message
* @param TextContainer|string $message
*/
public function sendMessage($message){
if($message instanceof TextContainer){